Thanks very much for the info. Two followon questions: 1. Is the jquery pluggin something the tiddlywiki group has developed or is it imported from some jquery project? 2. I've already got jquery running in my project; is there a proper way to invoke the save function given that?
As for my project: inspired by tiddlywiki, which is a wiki-in-a-file, I'm working on developing an analogous database-with-visualizations-in- a-file, based on my group's exhibit framework (http://www.simile- widgets.org/exhibit/). It's nowhere near ready for release yet but I did plan to advertise it to the tw community when it is. I'm not using much tw code, but the browser-independent file load/store was great. I have a local copy of Filysystem.js, but being a lazy/ inexperienced developer, I made it easy to move my code elsewhere by linking to Filesystem.js in the svn repository, and that suddenly stopped working. On Mar 13, 6:42 am, FND <[email protected]> wrote: > > Was loadFile moved elsewhere? > > Yes, indeed: > http://trac.tiddlywiki.org/changeset/9050 > The file-system code has been moved to a jQuery utility module to > simplify reuse for a wider audience: > http://trac.tiddlywiki.org/browser/Trunk/core/jquery/plugins/ > Therefore the original API functions have been deprecated: > http://trac.tiddlywiki.org/browser/Trunk/core/deprecated/FileSystem.js > > Note that there is no internal dependency on jQuery. So all that's > required is a variable "jQuery" to which the file object will be attached. > For example, you could wrap the code in a closure defining the jQuery > object as an arbitrary global variable: > (function(jQuery) { > > /* jQuery.file.load */ > /* jQuery.file.save */ > > })(MyVar); > > var myFilePath = "/path/to/file"; > var myContent = "hello world"; > MyVar.file.load({ fileUrl: myFilePath, content: myContent }); > > Note that since this interface has not been incorporated into an > TiddlyWiki release yet, it is still subject to change. > > Purely out of curiosity, what is your use case, and how come you're > working with the latest version of the code base? > > -- F. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
