From 52e6d73310863d1d80c9082e93471e95fcf4b477 Mon Sep 17 00:00:00 2001 From: Calvin Metcalf Date: Tue, 11 Mar 2014 07:44:04 -0400 Subject: [PATCH] build --- dist/immediate.js | 18 ++---------------- dist/immediate.min.js | 2 +- 2 files changed, 3 insertions(+), 17 deletions(-) diff --git a/dist/immediate.js b/dist/immediate.js index 92e5e84..9144c08 100644 --- a/dist/immediate.js +++ b/dist/immediate.js @@ -8,7 +8,6 @@ exports.test = function () { var types = [ _dereq_("./nextTick"), _dereq_("./mutation"), - _dereq_("./realSetImmediate"), _dereq_("./postMessage"), _dereq_("./messageChannel"), _dereq_("./stateChange"), @@ -59,7 +58,7 @@ module.exports.clear = function (n) { return this; }; -},{"./messageChannel":3,"./mutation":4,"./nextTick":1,"./postMessage":5,"./realSetImmediate":6,"./stateChange":7,"./timeout":8}],3:[function(_dereq_,module,exports){ +},{"./messageChannel":3,"./mutation":4,"./nextTick":1,"./postMessage":5,"./stateChange":6,"./timeout":7}],3:[function(_dereq_,module,exports){ (function (global){ "use strict"; @@ -145,19 +144,6 @@ exports.install = function (func) { (function (global){ "use strict"; -exports.test = function () { - return global.setImmediate; -}; - -exports.install = function (handle) { - return global.setTimeout.bind(global, handle, 0); -}; - -}).call(this,typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{}],7:[function(_dereq_,module,exports){ -(function (global){ -"use strict"; - exports.test = function () { return "document" in global && "onreadystatechange" in global.document.createElement("script"); }; @@ -181,7 +167,7 @@ exports.install = function (handle) { }; }; }).call(this,typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{}],8:[function(_dereq_,module,exports){ +},{}],7:[function(_dereq_,module,exports){ "use strict"; exports.test = function () { return true; diff --git a/dist/immediate.min.js b/dist/immediate.min.js index b44afd9..7ab6197 100644 --- a/dist/immediate.min.js +++ b/dist/immediate.min.js @@ -1 +1 @@ -!function(e){if("object"==typeof exports)module.exports=e();else if("function"==typeof define&&define.amd)define(e);else{var n;"undefined"!=typeof window?n=window:"undefined"!=typeof global?n=global:"undefined"!=typeof self&&(n=self),n.immediate=e()}}(function(){return function e(n,t,i){function o(u,s){if(!t[u]){if(!n[u]){var f="function"==typeof require&&require;if(!s&&f)return f(u,!0);if(r)return r(u,!0);throw new Error("Cannot find module '"+u+"'")}var a=t[u]={exports:{}};n[u][0].call(a.exports,function(e){var t=n[u][1][e];return o(t?t:e)},a,a.exports,e,n,t,i)}return t[u].exports}for(var r="function"==typeof require&&require,u=0;u1&&"function"==typeof e){for(u=new Array(arguments.length-1),o=0;++o1&&"function"==typeof e){for(u=new Array(arguments.length-1),o=0;++o