amalgamatic
Advanced tools
Comparing version 4.0.0 to 4.0.1
@@ -0,1 +1,15 @@ | ||
# 2014-09-25 | ||
5 commits against 3 issues, over 3 days [`17ee010`](https://github.com/ucsf-ckm/amalgamatic/commit/17ee010)⎆[`81c6b7a`](https://github.com/ucsf-ckm/amalgamatic/commit/81c6b7a) | ||
## [**4.0.1**](https://github.com/ucsf-ckm/amalgamatic/issues?milestone=5&state=closed) | ||
- [**#40**](https://github.com/ucsf-ckm/amalgamatic/issues/40) Callback should not be required | ||
- [**#37**](https://github.com/ucsf-ckm/amalgamatic/issues/37) Update usage examples in README | ||
## Issues | ||
- [**#41**](https://github.com/ucsf-ckm/amalgamatic/issues/41) tolerate null callback, fixes #40 | ||
--- | ||
# 2014-09-22 | ||
@@ -2,0 +16,0 @@ 2 commits against 1 issues, over an hour [`c14b146`](https://github.com/ucsf-ckm/amalgamatic/commit/c14b146)⎆[`ea42929`](https://github.com/ucsf-ckm/amalgamatic/commit/ea42929) |
@@ -41,2 +41,6 @@ var async = require('async'); | ||
if (typeof callback !== 'function') { | ||
callback = function () {}; | ||
} | ||
var wrappedCallback = function () { | ||
@@ -43,0 +47,0 @@ callback(results); |
@@ -8,3 +8,3 @@ { | ||
}, | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"dependencies": { | ||
@@ -11,0 +11,0 @@ "async": "^0.9.0", |
@@ -24,3 +24,3 @@ amalgamatic | ||
// Do a search! | ||
amalgamatic.search('medicine', function (results) { | ||
amalgamatic.search({searchTerm: 'medicine'}, function (results) { | ||
console.dir(results); | ||
@@ -27,0 +27,0 @@ }); |
@@ -103,3 +103,8 @@ /*jshint expr: true*/ | ||
}); | ||
it('should run with a null callback as the user can still send a plugin-level callback', function (done) { | ||
amalgamatic.search({searchTerm: 'medicine'}); | ||
done(); | ||
}); | ||
}); | ||
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
12788
132