mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-17 06:25:58 +01:00
Don't Be Evil.
--HG-- rename : pentadactyl/skin/icon.png => pentadactyl/icon16.png
This commit is contained in:
@@ -993,6 +993,12 @@ Class.prototype = {
|
||||
localizedProperties: {},
|
||||
magicalProperties: {}
|
||||
};
|
||||
for (let name in properties(Class.prototype)) {
|
||||
let desc = Object.getOwnPropertyDescriptor(Class.prototype, name);
|
||||
desc.enumerable = false;
|
||||
Object.defineProperty(Class.prototype, name, desc);
|
||||
}
|
||||
|
||||
Class.makeClosure = function makeClosure() {
|
||||
const self = this;
|
||||
function closure(fn) {
|
||||
@@ -1059,7 +1065,12 @@ function XPCOMShim(interfaces) {
|
||||
return (interfaces || []).reduce(function (shim, iface) shim.QueryInterface(Ci[iface]),
|
||||
ip.data)
|
||||
};
|
||||
function stub() null;
|
||||
let stub = Class.Property({
|
||||
configurable: true,
|
||||
enumerable: false,
|
||||
value: function stub() null,
|
||||
writable: true
|
||||
});
|
||||
|
||||
/**
|
||||
* An abstract base class for classes that wish to inherit from Error.
|
||||
|
||||
Reference in New Issue
Block a user