mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-26 06:38:36 +00:00
Fixing js strict warnings. r=jag, sr=ben.
This commit is contained in:
parent
00e6bf0cdc
commit
67924f7b12
@ -93,6 +93,7 @@ nsFilePicker.prototype = {
|
||||
url.file = this.mFile;
|
||||
return url;
|
||||
}
|
||||
return null;
|
||||
},
|
||||
|
||||
/* attribute wstring defaultString; */
|
||||
@ -182,6 +183,8 @@ nsFilePicker.prototype = {
|
||||
lastDirectory = o.retvals.directory;
|
||||
return o.retvals.buttonStatus;
|
||||
} catch(ex) { dump("unable to open file picker\n" + ex + "\n"); }
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
@ -222,7 +225,7 @@ function(compMgr)
|
||||
}
|
||||
|
||||
/* factory object */
|
||||
filePickerFactory = new Object();
|
||||
var filePickerFactory = new Object();
|
||||
|
||||
filePickerFactory.createInstance =
|
||||
function (outer, iid) {
|
||||
|
@ -93,6 +93,7 @@ nsFilePicker.prototype = {
|
||||
url.file = this.mFile;
|
||||
return url;
|
||||
}
|
||||
return null;
|
||||
},
|
||||
|
||||
/* attribute wstring defaultString; */
|
||||
@ -182,6 +183,8 @@ nsFilePicker.prototype = {
|
||||
lastDirectory = o.retvals.directory;
|
||||
return o.retvals.buttonStatus;
|
||||
} catch(ex) { dump("unable to open file picker\n" + ex + "\n"); }
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
@ -222,7 +225,7 @@ function(compMgr)
|
||||
}
|
||||
|
||||
/* factory object */
|
||||
filePickerFactory = new Object();
|
||||
var filePickerFactory = new Object();
|
||||
|
||||
filePickerFactory.createInstance =
|
||||
function (outer, iid) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user