Fix deferred chaining test fails.

This commit is contained in:
John-David Dalton
2014-09-11 23:36:12 -07:00
parent 1fe9ba5879
commit ad203e1461
2 changed files with 23 additions and 20 deletions

View File

@@ -11823,7 +11823,7 @@
if (!isNpm) {
var wrapped = _({ '0': 1, 'length': 1 });
if (methodName == 'splice') {
wrapped.splice(0, 1);
wrapped.splice(0, 1).value();
} else {
wrapped[methodName]();
}