1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-07 18:24:11 +01:00

Add missing semicolons.

This commit is contained in:
Doug Kearns
2015-05-25 23:54:56 +10:00
parent 72a4d80ad1
commit 5ab1befbf7
35 changed files with 82 additions and 84 deletions

View File

@@ -376,7 +376,7 @@ var Storage = Module("Storage", {
if (obj.privateData && obj.clone)
return obj.clone(this);
return obj;
},
}
}, {
Replacer: {
skipXpcom: function skipXpcom(key, val) val instanceof Ci.nsISupports ? null : val
@@ -803,7 +803,7 @@ var File = Class("File", {
return File.DoesNotExist(e);
}
return path;
},
}
});
{
@@ -891,7 +891,7 @@ var AsyncFile = Class("AsyncFile", File, {
*/
readDirectory: function readDirectory(callback) {
let iter = new OS.File.DirectoryIterator(dir);
let close = () => { iter.close() };
let close = () => { iter.close(); };
return iter.forEach(callback)
.then(close, close);
@@ -911,7 +911,7 @@ var AsyncFile = Class("AsyncFile", File, {
moveTo: function moveTo(path, options) {
return OS.File.move(this.path, path, options);
},
}
});
for (let m of ["makeDir",