mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 14:08:11 +01:00
Remove some trailing commas.
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user