1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-05 23:34:10 +01:00

Camel-case array#{iteritems,itervalues}.

This commit is contained in:
Doug Kearns
2010-09-26 11:54:28 +10:00
parent 883c0c367d
commit 87b29aa609
11 changed files with 22 additions and 22 deletions

View File

@@ -45,7 +45,7 @@ const History = Module("history", {
let sh = window.getWebNavigation().sessionHistory;
let obj = [];
obj.index = sh.index;
obj.__iterator__ = function () array.iteritems(this);
obj.__iterator__ = function () array.iterItems(this);
for (let i in util.range(0, sh.count)) {
obj[i] = update(Object.create(sh.getEntryAtIndex(i, false)),
{ index: i });