1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-15 12:55:47 +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

@@ -455,7 +455,7 @@ const RangeFind = Class("RangeFind", {
let pageStart = RangeFind.endpoint(pageRange, true);
let pageEnd = RangeFind.endpoint(pageRange, false);
for (let frame in array.itervalues(win.frames)) {
for (let frame in array.iterValues(win.frames)) {
let range = doc.createRange();
if (util.computedStyle(frame.frameElement).visibility == "visible") {
range.selectNode(frame.frameElement);
@@ -577,11 +577,11 @@ const RangeFind = Class("RangeFind", {
},
addListeners: function () {
for (let range in array.itervalues(this.ranges))
for (let range in array.iterValues(this.ranges))
range.window.addEventListener("unload", this.closure.onUnload, true);
},
purgeListeners: function () {
for (let range in array.itervalues(this.ranges))
for (let range in array.iterValues(this.ranges))
range.window.removeEventListener("unload", this.closure.onUnload, true);
},
onUnload: function (event) {