Comparing version 1.1.0 to 1.1.1
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 2.0.0-beta7 | ||
// Generated by CoffeeScript 2.0.0-beta8 | ||
void function () { | ||
@@ -16,3 +16,3 @@ var allStubs, arrayEqual, bond, createAnonymousSpy, createReturnSpy, createThroughSpy, enhanceSpy, isFunction, nextTick, registerCleanupHook; | ||
isConstructor = this instanceof arguments.callee; | ||
if (isConstructor) | ||
if (isConstructor && typeof result !== 'object') | ||
return this; | ||
@@ -136,3 +136,4 @@ return result; | ||
return to(function (callback) { | ||
var args, numArgs$; | ||
var numArgs$; | ||
var args; | ||
if ((numArgs$ = arguments.length) > 1) { | ||
@@ -147,3 +148,3 @@ args = [].slice.call(arguments, 0, numArgs$ - 1); | ||
return nextTick(function () { | ||
return callback.apply(null, [].slice.call(returnValues).concat()); | ||
return callback.apply(null, [].slice.call(returnValues)); | ||
}); | ||
@@ -164,3 +165,2 @@ }); | ||
}; | ||
bond.version = '0.0.13'; | ||
if ('undefined' !== typeof window && null != window) | ||
@@ -167,0 +167,0 @@ window.bond = bond; |
{ | ||
"name": "bondjs", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "simple js stub/spy library", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18413