Build distribution for keys lookup fix

This commit is contained in:
Gregg Van Hove
2017-04-25 14:35:58 -07:00
parent b3c8fb9797
commit fbd2ffc08b
2 changed files with 3 additions and 3 deletions

View File

@@ -2572,8 +2572,8 @@ getJasmineRequireObj().matchersUtil = function(j$) {
}
var extraKeys = [];
for (var i in allKeys) {
if (!allKeys[i].match(/^[0-9]+$/)) {
for (var i = 0; i < allKeys.length; i++) {
if (!/^[0-9]+$/.test(allKeys[i])) {
extraKeys.push(allKeys[i]);
}
}

View File

@@ -328,7 +328,7 @@ getJasmineRequireObj().matchersUtil = function(j$) {
var extraKeys = [];
for (var i = 0; i < allKeys.length; i++) {
if (!allKeys[i].match(/^[0-9]+$/)) {
if (!/^[0-9]+$/.test(allKeys[i])) {
extraKeys.push(allKeys[i]);
}
}