Removed extraneous console.log

print-window-tiddler
Jeremy Ruston 2012-07-11 15:51:52 +01:00
rodzic c340082653
commit 6a0a4ae00d
1 zmienionych plików z 0 dodań i 1 usunięć

Wyświetl plik

@ -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);