Comparing version 0.2.0 to 0.2.2
'use strict'; | ||
module.exports = require('./lib/async'); | ||
module.exports = require('./lib/async.compact'); | ||
@@ -1,5 +0,5 @@ | ||
'use strict'; | ||
(function() { | ||
'use strict'; | ||
var root = this; | ||
@@ -91,5 +91,14 @@ var previos_async = root && root.async; | ||
if (module) { | ||
// Node.js | ||
if (typeof module != 'undefined' && module.exports) { | ||
module.exports = async; | ||
} | ||
// AMD / RequireJS | ||
else if (typeof define != 'undefined' && define.amd) { | ||
define([], function() { | ||
return async; | ||
}); | ||
} else { | ||
root.async = async; | ||
} | ||
@@ -1738,3 +1747,2 @@ // base on lodash | ||
function parallel(tasks, callback, thisArg) { | ||
@@ -2607,2 +2615,4 @@ | ||
console.error(err); | ||
} else if (console.log) { | ||
console.log(err); | ||
} | ||
@@ -2624,3 +2634,3 @@ return; | ||
})(); | ||
}.call(this)); | ||
{ | ||
"name": "neo-async", | ||
"version": "0.2.0", | ||
"description": "async for node.js", | ||
"version": "0.2.2", | ||
"description": "Neo-Async is faster than Async.js", | ||
"main": "index.js", | ||
@@ -6,0 +6,0 @@ "scripts": { |
# Neo-Async | ||
Neo-Async is faster than Async.js and has more feature. | ||
@@ -4,0 +3,0 @@ |
@@ -44,3 +44,5 @@ /* global describe, it */ | ||
}); | ||
}); | ||
}); | ||
@@ -47,0 +49,0 @@ |
@@ -7,3 +7,2 @@ /* global describe, it */ | ||
// TODO test... | ||
describe('#auto', function() { | ||
@@ -10,0 +9,0 @@ |
Sorry, the diff of this file is not supported yet
180725
40
5965
196