On 13 May 2009, at 06:33, [email protected] wrote: > > I wanted to add another js library to my tw. since I'm totally noob I > thought I'd look to see how jquery is included for an example. when I > view source I expected to see something that looks library-ish since > tw is "self contained" and a text file.
It's in there, minimized. Look at the first script tag on "view source" of http://tiddlywiki.com You can add your code into the file directly, or in the MarkupPreHead tiddler, but chances are you want to write a TiddlyWiki plugin - a tiddler containing the library and your code which you can edit more easily distribute to other users. There is some minimal documentation on our wiki: http://tiddlywiki.org/wiki/Plugins but most people learn by looking at other people's plugins - e.g. my example which introduces the jProcessing library in the ProcessingjsPlugin: http://whatfettle.com/2008/05/TiddlyProcessing/ > Googling for answers says > something about jquery being hidden. Hidden text in a text file? My > basic text editor doesn't hide or show text. I do see jquery's home > url on the web, but shouldn't it be local for use offline? So my > question is if it's in tw where is it? else what's the mechanism or > process that includes it on my local machine and where typically might > it be? I think I'm as baffled about that as you are. View source should show you everything, though after it has been loaded by and "rendered" by the browser. To see a Web page for real, download it and open it in your text editor - I often use the wget or curl command to do this. Paul (psd) -- http://blog.whatfettle.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/TiddlyWikiDev?hl=en -~----------~----~----~----~------~----~------~--~---
