1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 17:22:26 +01:00

update some old refererences to util.arrayIter

This commit is contained in:
Doug Kearns
2008-11-01 04:30:57 +00:00
parent 5f90b93430
commit a9803eb709

View File

@@ -685,7 +685,7 @@ function Buffer() //{{{
// put feeds rss into pageFeeds[] // put feeds rss into pageFeeds[]
let nFeed = 0; let nFeed = 0;
var linkNodes = doc.getElementsByTagName("link"); var linkNodes = doc.getElementsByTagName("link");
for (link in util.arrayIter(linkNodes)) for (link in util.Array.iterator(linkNodes))
{ {
if (!link.href) if (!link.href)
return; return;
@@ -720,7 +720,7 @@ function Buffer() //{{{
.getService(nsICacheService); .getService(nsICacheService);
let cacheKey = doc.location.toString().replace(/#.*$/, ""); let cacheKey = doc.location.toString().replace(/#.*$/, "");
for (let proto in util.arrayIter(["HTTP", "FTP"])) for (let proto in util.Array.iterator(["HTTP", "FTP"]))
{ {
try try
{ {