Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

v3.3.6. Bugfix.

  • Loading branch information...
commit 5ec3636611e30a37cc98ad53d19bdff9be409b6c 1 parent 11a1d5f
@balupton balupton authored
Showing with 7 additions and 7 deletions.
  1. +4 −0 History.md
  2. +1 −1  package.json
  3. +2 −6 src/lib/taskgroup.coffee
View
4 History.md
@@ -1,5 +1,9 @@
# History
+- v3.3.6 November 29, 2013
+ - Properly fixed v3.3.3 issue while maintaining node.js v0.8 and browserify support
+ - Thanks to [pflannery](https://github.com/pflannery) for [pull request #11](https://github.com/bevry/taskgroup/pull/11)
+
- v3.3.5 November 28, 2013
- Re-added Node.js v0.8 support (regression since v3.3.3)
View
2  package.json
@@ -1,7 +1,7 @@
{
"title": "TaskGroup",
"name": "taskgroup",
- "version": "3.3.5",
+ "version": "3.3.6",
"description": "Group together synchronous and asynchronous tasks and execute them with support for concurrency, naming, and nesting.",
"homepage": "https://github.com/bevry/taskgroup",
"license": {
View
8 src/lib/taskgroup.coffee
@@ -1,12 +1,8 @@
# Import
-`var setImmediate = setImmediate; if (!setImmediate) setImmediate=process.nextTick` # node 0.8 b/c
+setImmediate = global?.setImmediate or process.nextTick # node 0.8 b/c
ambi = require('ambi')
events = require('events')
-domain =
- try
- require('domain')
- catch err
- null
+domain = (try require('domain')) ? null
{EventEmitter} = events
# Task
Please sign in to comment.
Something went wrong with that request. Please try again.