mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-31 15:32:27 +01:00
Use less shady method of pdf printing; support Windows.
This commit is contained in:
@@ -1099,6 +1099,21 @@ var closureHooks = {
|
||||
return target._closureCache[prop] = p.bind(target);
|
||||
return p;
|
||||
}
|
||||
|
||||
/*
|
||||
getOwnPropertyNames: function getOwnPropertyNames(target) {
|
||||
return [k for (k in properties(target, true))];
|
||||
},
|
||||
|
||||
getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, prop) {
|
||||
let self = this;
|
||||
return {
|
||||
configurable: false,
|
||||
writable: false,
|
||||
get value() self.get(target, prop)
|
||||
}
|
||||
}
|
||||
*/
|
||||
};
|
||||
|
||||
Class.makeClosure = function makeClosure() {
|
||||
|
||||
Reference in New Issue
Block a user