> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to