mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-25 17:04:16 +00:00
feature(bower) execon v1.2.5
This commit is contained in:
parent
d882699045
commit
1585ddca89
6 changed files with 38 additions and 11 deletions
|
|
@ -30,7 +30,7 @@
|
|||
"vk-openapi": "~0.0.1",
|
||||
"domtokenlist-shim": "~1.1.0",
|
||||
"promise-polyfill": "~2.1.0",
|
||||
"philip": "~1.3.0",
|
||||
"emitify": "~1.2.0"
|
||||
"emitify": "~1.2.0",
|
||||
"philip": "~1.3.0"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,12 +21,12 @@
|
|||
"test",
|
||||
"tests"
|
||||
],
|
||||
"version": "1.2.2",
|
||||
"_release": "1.2.2",
|
||||
"version": "1.2.5",
|
||||
"_release": "1.2.5",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "v1.2.2",
|
||||
"commit": "07ebb474438800f66b4b2c5b7abca58a9aa57bf7"
|
||||
"tag": "v1.2.5",
|
||||
"commit": "ea4e9ed95a445e84298ed670be59e42ce6fbe678"
|
||||
},
|
||||
"_source": "git://github.com/coderaiser/execon.git",
|
||||
"_target": "~1.2.2",
|
||||
|
|
|
|||
|
|
@ -1,3 +1,21 @@
|
|||
2015.07.21, v1.2.5
|
||||
|
||||
fix:
|
||||
- (exec) eachSeries
|
||||
|
||||
|
||||
2015.07.21, v1.2.4
|
||||
|
||||
fix:
|
||||
- (exec) each, eachSeries
|
||||
|
||||
|
||||
2015.07.21, v1.2.3
|
||||
|
||||
fix:
|
||||
- (exec) each, eachSeries: call callback when !listeners.length
|
||||
|
||||
|
||||
2015.06.05, v1.2.2
|
||||
|
||||
feature:
|
||||
|
|
|
|||
|
|
@ -21,5 +21,5 @@
|
|||
"test",
|
||||
"tests"
|
||||
],
|
||||
"version": "1.2.2"
|
||||
"version": "1.2.5"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -191,15 +191,24 @@
|
|||
return iterator.bind(null, item);
|
||||
});
|
||||
|
||||
exec.parallel(listeners, callback);
|
||||
if (!listeners.length)
|
||||
callback();
|
||||
else
|
||||
exec.parallel(listeners, callback);
|
||||
};
|
||||
|
||||
|
||||
exec.eachSeries = function(array, iterator, callback) {
|
||||
var listeners = array.map(function(item) {
|
||||
return iterator.bind(null, item);
|
||||
});
|
||||
|
||||
exec.series(listeners, callback);
|
||||
if (typeof callback !== 'function')
|
||||
throw Error('callback should be function');
|
||||
|
||||
if (!listeners.length)
|
||||
callback();
|
||||
else
|
||||
exec.series(listeners, callback);
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "execon",
|
||||
"version": "1.2.2",
|
||||
"version": "1.2.5",
|
||||
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
|
||||
"description": "Patterns of function calls",
|
||||
"homepage": "http://github.com/coderaiser/execon",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue