queue-async
Advanced tools
Comparing version 1.0.5 to 1.0.6
{ | ||
"name": "queue-async", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"main": "./queue.js" | ||
} |
{ | ||
"name": "queue-async", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "A little helper for asynchronous JavaScript.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -76,6 +76,6 @@ (function() { | ||
queue.version = "1.0.5"; | ||
if (typeof define === "function" && define.amd) define(queue); | ||
queue.version = "1.0.6"; | ||
if (typeof define === "function" && define.amd) define(function() { return queue; }); | ||
else if (typeof module === "object" && module.exports) module.exports = queue; | ||
else this.queue = queue; | ||
})(); |
@@ -1,1 +0,1 @@ | ||
(function(){function n(n){function t(){for(;r=c.length>a&&n>p;){var u=a++,t=c[u],o=e.call(t,1);o.push(l(u)),++p,t[0].apply(null,o)}}function l(n){return function(u,e){--p,null==s&&(null!=u?(s=u,a=d=0/0,o()):(c[n]=e,--d?r||t():o()))}}function o(){null!=s?m(s):f?m(s,c):m.apply(null,[s].concat(c))}var i,r,f,c=[],a=0,p=0,d=0,s=null,m=u;return n||(n=1/0),i={defer:function(){return s||(c.push(arguments),++d,t()),i},await:function(n){return m=n,f=!1,d||o(),i},awaitAll:function(n){return m=n,f=!0,d||o(),i}}}function u(){}var e=[].slice;n.version="1.0.5","function"==typeof define&&define.amd?define(n):"object"==typeof module&&module.exports?module.exports=n:this.queue=n})(); | ||
(function(){function n(n){function e(){for(;i=c.length>a&&n>p;){var u=a++,e=c[u],o=t.call(e,1);o.push(l(u)),++p,e[0].apply(null,o)}}function l(n){return function(u,t){--p,null==s&&(null!=u?(s=u,a=d=0/0,o()):(c[n]=t,--d?i||e():o()))}}function o(){null!=s?m(s):f?m(s,c):m.apply(null,[s].concat(c))}var r,i,f,c=[],a=0,p=0,d=0,s=null,m=u;return n||(n=1/0),r={defer:function(){return s||(c.push(arguments),++d,e()),r},await:function(n){return m=n,f=!1,d||o(),r},awaitAll:function(n){return m=n,f=!0,d||o(),r}}}function u(){}var t=[].slice;n.version="1.0.6","function"==typeof define&&define.amd?define(function(){return n}):"object"==typeof module&&module.exports?module.exports=n:this.queue=n})(); |
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
9538