1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 18:47:59 +01:00

Remove some trailing commas.

This commit is contained in:
Doug Kearns
2009-08-10 02:21:47 +10:00
parent ab6eaeff29
commit b6d3f7ef99
2 changed files with 4 additions and 4 deletions

View File

@@ -90,7 +90,7 @@ function Browser() //{{{
"boolean", false,
{
setter: function (value) services.get("privateBrowsing").privateBrowsingEnabled = value,
getter: function () services.get("privateBrowsing").privateBrowsingEnabled,
getter: function () services.get("privateBrowsing").privateBrowsingEnabled
});
let services = modules.services; // Storage objects are global to all windows, 'modules' isn't.
storage.newObject("private-mode", function () {
@@ -116,7 +116,7 @@ function Browser() //{{{
services.get("observer").removeObserver(this, "quit-application");
services.get("observer").removeObserver(this, "private-browsing");
}
},
}
}).init();
}, false);
storage.addObserver("private-mode",

View File

@@ -420,7 +420,7 @@ const util = { //{{{
* @param {number} max The maximum constraint.
* @returns {number}
*/
constrain: function constrain(value, min, max) Math.min(Math.max(min, value), max),
constrain: function constrain(value, min, max) Math.min(Math.max(min, value), max)
},
/**
@@ -742,7 +742,7 @@ util.Array = function Array_(ary) {
return res;
},
concat: function () [].concat.apply(this.__proto__, arguments),
map: function () this.__noSuchMethod__("map", Array.slice(arguments)),
map: function () this.__noSuchMethod__("map", Array.slice(arguments))
};
return obj;
}