1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-09 08:44:10 +01:00

Fix tab number updates in FF36. Closes issue 300.

This commit is contained in:
Kris Maglione
2011-01-26 16:22:29 -05:00
parent a6fe97b787
commit 218562e21b
48 changed files with 498 additions and 8666 deletions

View File

@@ -1219,6 +1219,15 @@ update(iter, {
func.call(self, val);
},
indexOf: function indexOf(iter, elem) {
let i = 0;
for (let item in iter) {
if (item == elem)
return i;
i++;
}
},
/**
* Returns the array that results from applying *func* to each property of
* *obj*.