Comparing version 1.0.1 to 1.0.2
@@ -8,3 +8,3 @@ /** | ||
* @link https://github.com/avoidwork/tiny-defer | ||
* @version 1.0.1 | ||
* @version 1.0.2 | ||
*/ | ||
@@ -11,0 +11,0 @@ (function (global) { |
@@ -8,3 +8,3 @@ /** | ||
* @link https://github.com/avoidwork/tiny-defer | ||
* @version 1.0.1 | ||
* @version 1.0.2 | ||
*/ | ||
@@ -11,0 +11,0 @@ "use strict"; |
{ | ||
"name": "tiny-defer", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Tiny Deferred for Client or Server", | ||
@@ -5,0 +5,0 @@ "main": "lib/tiny-defer.js", |
@@ -26,5 +26,11 @@ # tiny-defer | ||
## API | ||
#### deferred() | ||
Returns an unboxed `Promise` | ||
#### promise | ||
`Promise` to pass/return | ||
#### reject() | ||
Rejects the `Promise` | ||
#### resolve() | ||
Resolves the `Promise` | ||
## How to use tiny-defer | ||
@@ -31,0 +37,0 @@ `tiny-defer` can be loaded as a CommonJS or AMD module, or with a script tag which would create `window.deferred`. |
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
10117
41