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:
@@ -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*.
|
||||
|
||||
Reference in New Issue
Block a user