Updating source and standalone distribution to 2.0.1

This commit is contained in:
Davis W. Frank
2014-07-21 12:36:24 -07:00
parent ff1fa6a893
commit 227698f5fa
4 changed files with 5 additions and 5 deletions

View File

@@ -976,7 +976,7 @@ getJasmineRequireObj().Clock = function() {
}
function argSlice(argsObj, n) {
return Array.prototype.slice.call(argsObj, 2);
return Array.prototype.slice.call(argsObj, n);
}
}
@@ -1869,7 +1869,7 @@ getJasmineRequireObj().matchersUtil = function(j$) {
}
return false;
}
return haystack.indexOf(needle) >= 0;
return !!haystack && haystack.indexOf(needle) >= 0;
},
buildFailureMessage: function() {
@@ -2512,5 +2512,5 @@ getJasmineRequireObj().toThrowError = function(j$) {
};
getJasmineRequireObj().version = function() {
return '2.0.0';
return '2.0.1';
};