1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-28 22:13:32 +01:00

Make .closure a Proxy and rename .bound

This commit is contained in:
Kris Maglione
2014-03-16 14:32:04 -07:00
parent 03596bd75d
commit af88d531d0
27 changed files with 113 additions and 119 deletions

View File

@@ -1092,7 +1092,7 @@ var DOM = Class("DOM", {
* @returns {string} Canonical form.
*/
canonicalKeys: function canonicalKeys(keys, unknownOk=true) {
return this.parse(keys, unknownOk).map(this.closure.stringify).join("");
return this.parse(keys, unknownOk).map(this.bound.stringify).join("");
},
iterKeys: function iterKeys(keys) iter(function () {
@@ -1480,7 +1480,7 @@ var DOM = Class("DOM", {
* @returns {boolean} True when the patterns are all valid.
*/
validateMatcher: function validateMatcher(list) {
return this.testValues(list, DOM.closure.testMatcher);
return this.testValues(list, DOM.bound.testMatcher);
},
testMatcher: function testMatcher(value) {