timers-browserify
Advanced tools
Comparing version 1.2.0 to 1.3.0
@@ -29,3 +29,3 @@ var nextTick = require('process/browser.js').nextTick; | ||
// That's not how node.js implements it but the exposed api is the same. | ||
exports.setImmediate = function(fn) { | ||
exports.setImmediate = typeof setImmediate === "function" ? setImmediate : function(fn) { | ||
var id = nextImmediateId++; | ||
@@ -53,4 +53,4 @@ var args = arguments.length < 2 ? false : slice.call(arguments, 1); | ||
exports.clearImmediate = function(id) { | ||
exports.clearImmediate = typeof clearImmediate === "function" ? clearImmediate : function(id) { | ||
delete immediateIds[id]; | ||
}; |
@@ -5,3 +5,3 @@ { | ||
"description": "timers module for browserify", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"homepage": "https://github.com/jryans/timers-browserify", | ||
@@ -8,0 +8,0 @@ "bugs": "https://github.com/jryans/timers-browserify/issues", |
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
18754