Comparing version 1.0.2 to 1.0.3
@@ -8,7 +8,6 @@ /** | ||
* @link https://github.com/avoidwork/tiny-defer | ||
* @version 1.0.2 | ||
* @version 1.0.3 | ||
*/ | ||
(function (global) { | ||
const server = typeof process !== "undefined" && typeof process.nextTick === "function"; | ||
const Promise = !server && global.Promise ? global.Promise : require("es6-promise").Promise; | ||
const Promise = global.Promise || require("es6-promise").Promise; | ||
@@ -15,0 +14,0 @@ function deferred () { |
@@ -8,3 +8,3 @@ /** | ||
* @link https://github.com/avoidwork/tiny-defer | ||
* @version 1.0.2 | ||
* @version 1.0.3 | ||
*/ | ||
@@ -14,4 +14,3 @@ "use strict"; | ||
(function (global) { | ||
var server = typeof process !== "undefined" && typeof process.nextTick === "function"; | ||
var Promise = !server && global.Promise ? global.Promise : require("es6-promise").Promise; | ||
var Promise = global.Promise || require("es6-promise").Promise; | ||
@@ -18,0 +17,0 @@ function deferred() { |
{ | ||
"name": "tiny-defer", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Tiny Deferred for Client or Server", | ||
@@ -5,0 +5,0 @@ "main": "lib/tiny-defer.js", |
9886
63