http://trac.tiddlywiki.org/changeset/9548

JeremyRuston
2009-04-21 11:37:40 +0000 (Tue, 21 Apr 2009)
71
[fileplugin] Removing inadvertantly checked in debugging alert()s #1036

---------------

U   Trunk/core/jquery/plugins/jquery.file.js

---------------

Modified: Trunk/core/jquery/plugins/jquery.file.js
===================================================================
--- Trunk/core/jquery/plugins/jquery.file.js    2009-04-21 11:17:39 UTC (rev 
9547)
+++ Trunk/core/jquery/plugins/jquery.file.js    2009-04-21 11:37:40 UTC (rev 
9548)
@@ -105,23 +105,16 @@
                        return true;
                },
                saveFile: function(filePath,content) {
-alert("One");
                        // Returns null if it can't do it, false if there's an 
error, true if it saved OK
                        drivers.activeX.createPath(filePath);
-alert("2");
                        try {
                                var fso = new 
ActiveXObject("Scripting.FileSystemObject");
-alert("3");
                                var file = fso.OpenTextFile(filePath,2,-1,0);
-alert("3.2");
                                file.Write(content);
-alert("3.4");
                                file.Close();
-alert("4");
                        } catch (ex) {
                                return null;
                        }
-alert("5");
                        return true;
                }
        };

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