summaryrefslogtreecommitdiff
path: root/common/content/completion.js
diff options
context:
space:
mode:
Diffstat (limited to 'common/content/completion.js')
-rw-r--r--common/content/completion.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/content/completion.js b/common/content/completion.js
index f2276dcb..30740f2b 100644
--- a/common/content/completion.js
+++ b/common/content/completion.js
@@ -256,7 +256,7 @@ CompletionContext.prototype = {
let prefix = self.value.substring(minStart, context.offset);
return context.items.map(function makeItem(item) ({ text: prefix + item.text, item: item.item }));
});
- return { start: minStart, items: Array_.flatten(items), longestSubstring: this.longestAllSubstring };
+ return { start: minStart, items: util.Array.flatten(items), longestSubstring: this.longestAllSubstring };
}
catch (e)
{
@@ -279,7 +279,7 @@ CompletionContext.prototype = {
lists.pop());
if (!substrings) // FIXME: How is this undefined?
return [];
- return Array_.uniq(substrings);
+ return util.Array.uniq(substrings);
},
// Temporary
get longestAllSubstring()