summaryrefslogtreecommitdiff
path: root/common/content/history.js
diff options
context:
space:
mode:
authorKris Maglione <maglione.k@gmail.com>2015-03-04 17:27:32 -0800
committerKris Maglione <maglione.k@gmail.com>2015-03-04 17:27:32 -0800
commitd6543c6510ea1d808a4038b5ff486b5ca5ff4dbf (patch)
tree5c64b7b63643957be87fe4479702a1aedbeedd65 /common/content/history.js
parent313fa1c33341fc4a20bc6dbb1feb35801f4b2413 (diff)
downloadpentadactyl-d6543c6510ea1d808a4038b5ff486b5ca5ff4dbf.tar.gz
Rename 'array' class 'Ary'.
Diffstat (limited to 'common/content/history.js')
-rw-r--r--common/content/history.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/content/history.js b/common/content/history.js
index 875a487c..6542358c 100644
--- a/common/content/history.js
+++ b/common/content/history.js
@@ -65,7 +65,7 @@ var History = Module("history", {
let obj = [];
obj.__defineGetter__("index", () => sh.index);
obj.__defineSetter__("index", function (val) { webNav.gotoIndex(val); });
- obj[Symbol.iterator] = function () array.iterItems(this);
+ obj[Symbol.iterator] = function () this.entries();
for (let item of iter(sh.SHistoryEnumerator, Ci.nsISHEntry))
obj.push(update(Object.create(item), {
@@ -276,7 +276,7 @@ var History = Module("history", {
description: "The sort order of the results",
completer: function (context, args) {
context.compare = CompletionContext.Sort.unsorted;
- return array.flatten([
+ return Ary.flatten([
"annotation",
"date",
"date added",