1
0
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:
Kris Maglione
2014-05-15 19:50:56 -07:00
parent 828dd47de2
commit cbeeec9738
3 changed files with 31 additions and 16 deletions

View File

@@ -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() {