kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Removed extraneous console.log
rodzic
c340082653
commit
6a0a4ae00d
|
@ -23,7 +23,6 @@ FirefoxSaver.prototype.save = function(text) {
|
||||||
ioService = Components.classes["@mozilla.org/network/io-service;1"].getService(Components.interfaces.nsIIOService),
|
ioService = Components.classes["@mozilla.org/network/io-service;1"].getService(Components.interfaces.nsIIOService),
|
||||||
fileHandler = ioService.getProtocolHandler("file").QueryInterface(Components.interfaces.nsIFileProtocolHandler),
|
fileHandler = ioService.getProtocolHandler("file").QueryInterface(Components.interfaces.nsIFileProtocolHandler),
|
||||||
fileSpec = fileHandler.getFileFromURLSpec(url);
|
fileSpec = fileHandler.getFileFromURLSpec(url);
|
||||||
console.log("Saving to",fileSpec.path);
|
|
||||||
// Try to save the file
|
// Try to save the file
|
||||||
var file = Components.classes["@mozilla.org/file/local;1"].createInstance(Components.interfaces.nsILocalFile);
|
var file = Components.classes["@mozilla.org/file/local;1"].createInstance(Components.interfaces.nsILocalFile);
|
||||||
file.initWithPath(fileSpec.path);
|
file.initWithPath(fileSpec.path);
|
||||||
|
|
Ładowanie…
Reference in New Issue