1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-02 03:45:45 +01:00

Add ;A and fix 'eht' setting bug.

This commit is contained in:
Kris Maglione
2012-01-29 07:47:02 -05:00
parent cbb748f5dd
commit b17be0ca1c
5 changed files with 18 additions and 6 deletions

View File

@@ -1762,7 +1762,7 @@ Object.keys(array).forEach(function (k) {
});
Object.getOwnPropertyNames(Array.prototype).forEach(function (k) {
if (!(k in iterProto))
if (!(k in iterProto) && callable(Array.prototype[k]))
iterProto[k] = function () {
let ary = iter(this).toArray();
let res = ary[k].apply(ary, arguments);