> I guess there are basically two ways...
>
>    1. load and initialize it form an external source
>       - using a script tag with a tiddler tagged *$:/tags/RawMarkup*
>       
> I don't like this way, you can easily find collisions.

 

>
>    1. putting it in a tiddler, e.g. *$:/lib/jquery.1.1.1.min.js* with 
>    *type*=*application/javascript & **module-type*=*library*
>
> Yes 

>
>    - have some other code, e.g. a js macro do *require(*
>       *$:/lib/jquery.1.1.1.min.js)* so as to initialize it and then set 
>       *window.jQuery* and *window.$* to it
>    
> Not a macro. It should be a widget or any other module like utils or 
startup, but not a macro.
 

> Anything else?
>
 
As I said, you have to use the library.

*Note: *This is not a discussion about whether to load jQuery in tw5 at all 
> or not but how.
>
>
There is only one reason you would want to include jQuery, and it is to do 
some task "the fast way". I mean, using code snippets that user jQuery 
already. In my opinion this is an horrible idea. 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywikidev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to