Comparing version 1.2.2 to 1.2.3
@@ -6,2 +6,12 @@ # Contribution Guide | ||
## Code of Conduct | ||
The [Code of Conduct](CODE_OF_CONDUCT.md) | ||
will be enforced in all project spaces. | ||
Please read it | ||
so that you know what kind of behavior | ||
is expected here. | ||
## Reporting a Bug | ||
@@ -24,2 +34,3 @@ | ||
## Code Style | ||
@@ -26,0 +37,0 @@ |
@@ -56,8 +56,10 @@ // Generated by CoffeeScript 2.0.0-beta8 | ||
spy.calledWith = function (args) { | ||
var lastArgs; | ||
var calledArgs; | ||
args = 1 <= arguments.length ? [].slice.call(arguments, 0) : []; | ||
if (!spy.called) | ||
return false; | ||
lastArgs = spy.calledArgs[spy.called - 1]; | ||
return arrayEqual(args, lastArgs); | ||
for (var i$ = 0, length$ = spy.calledArgs.length; i$ < length$; ++i$) { | ||
calledArgs = spy.calledArgs[i$]; | ||
if (arrayEqual(args, calledArgs)) | ||
return true; | ||
} | ||
return false; | ||
}; | ||
@@ -64,0 +66,0 @@ if (bondApi) |
{ | ||
"name": "bondjs", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"description": "simple js stub/spy library", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -5,6 +5,2 @@ # bond ![build status](https://travis-ci.org/EndangeredMassa/bond.png) [![David](https://david-dm.org/EndangeredMassa/bond.png)](https://david-dm.org/EndangeredMassa/bond) | ||
bond only provides stubbing and spy functionality. | ||
@@ -14,6 +10,8 @@ For test running and assertions, | ||
Keep up to date with changes | ||
by checking the | ||
[releases](https://github.com/endangeredmassa/bond/releases). | ||
This project is a safe and inclusive place | ||
for contributors of all kinds. | ||
See the [Code of Conduct](CODE_OF_CONDUCT.md) | ||
for details. | ||
## bond api | ||
@@ -20,0 +18,0 @@ |
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
23736
11
210
63