Skip to content

Commit

Permalink
2.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
suguru03 committed Jun 12, 2017
1 parent 36a5aed commit 784b996
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "neo-async",
"main": "lib/async.js",
"version": "2.2.1",
"version": "2.2.2",
"homepage": "https://github.com/suguru03/neo-async",
"authors": [
"Suguru Motegi"
Expand Down
12 changes: 6 additions & 6 deletions dist/async.js
Original file line number Diff line number Diff line change
Expand Up @@ -1963,11 +1963,11 @@
var dir = createLogger('dir');

/**
* @version 2.2.1
* @version 2.2.2
* @namespace async
*/
var index = {
VERSION: '2.2.1',
VERSION: '2.2.2',

// Collections
each: each,
Expand Down Expand Up @@ -7853,11 +7853,11 @@
function runQueue() {
while (!q.paused && workers < q.concurrency && q._tasks.length) {
var task = q._tasks.shift();
workers++;
workersList.push(task);
if (q._tasks.length === 0) {
q.empty();
}
workers++;
workersList.push(task);
if (workers === q.concurrency) {
q.saturated();
}
Expand All @@ -7875,11 +7875,11 @@
while (++index < size) {
data[index] = tasks[index].data;
}
workers++;
Array.prototype.push.apply(workersList, tasks);
if (q._tasks.length === 0) {
q.empty();
}
workers++;
Array.prototype.push.apply(workersList, tasks);
if (workers === q.concurrency) {
q.saturated();
}
Expand Down
4 changes: 2 additions & 2 deletions dist/async.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions lib/async.js
Original file line number Diff line number Diff line change
Expand Up @@ -1963,11 +1963,11 @@
var dir = createLogger('dir');

/**
* @version 2.2.1
* @version 2.2.2
* @namespace async
*/
var index = {
VERSION: '2.2.1',
VERSION: '2.2.2',

// Collections
each: each,
Expand Down
4 changes: 2 additions & 2 deletions lib/async.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "neo-async",
"version": "2.2.1",
"version": "2.2.2",
"description": "Neo-Async is thought to be used as a drop-in replacement for Async, it almost fully covers its functionality and runs faster ",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 784b996

Please sign in to comment.