Merge pull request #632 from kissrobber/bug_fix
Fixes incorrect use of signature args - Not currently an issue, since always called with '2', but could break unexpectedly if argSlice is used without reading the body.
This commit is contained in:
@@ -105,7 +105,7 @@ getJasmineRequireObj().Clock = function() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function argSlice(argsObj, n) {
|
function argSlice(argsObj, n) {
|
||||||
return Array.prototype.slice.call(argsObj, 2);
|
return Array.prototype.slice.call(argsObj, n);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user