1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-08 20:44:12 +01:00

Speed up opening of the completion list and substring completion, significantly.

This commit is contained in:
Kris Maglione
2010-09-23 21:49:46 -04:00
parent 8de49e4764
commit 2fd301c81a
2 changed files with 36 additions and 10 deletions

View File

@@ -946,7 +946,7 @@ const array = Class("array", Array, {
* @returns {boolean}
*/
equals: function (ary1, ary2)
ary1.length == ary2.length && Array.every(ary1, function (e, i) e == ary2[i]),
ary1.length === ary2.length && Array.every(ary1, function (e, i) e === ary2[i]),
/**
* Flattens an array, such that all elements of the array are