> That of course makes reuse without jQuery a little harder...

... though it's still possible - e.g. for Dojo:
     (function() {

     // provide jQuery functionality required by file-system code
     var jQuery = {
         extend: function(target, obj1, obj2) {
             return dojo.mixin(target, obj1, obj2);
         },
         browser: {
             msie: dojo.isIE
         }
     };

     /* jQuery.file.load */
     /* jQuery.file.save */

     // load file
     var myFilePath = "/path/to/file";
     var myContent = jQuery.file.load(myFilePath);
     // save file
     myContent += "hello world\n";
     jQuery.file.save(myFilePath, myContent);

     })();
(Also note that we've simplified the function signatures there.)


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