Skip to content

Commit 63be4ce

Browse files
committed
Use when instead of bluebird for compatiblity with node 0.8.
1 parent 7a688ec commit 63be4ce

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
},
3333
"devDependencies": {
3434
"async": "~0.1.22",
35-
"bluebird": "^2.6.0",
36-
"nodeunit": "0.9.0"
35+
"nodeunit": "0.9.0",
36+
"when": "~3.6.4"
3737
},
3838
"scripts": {
3939
"test": "nodeunit test test8",

testHelpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ java.classpath.push("test8/");
99

1010
java.asyncOptions = {
1111
suffix: 'Promise',
12-
promisify: require('bluebird').promisify
12+
promisify: require('when/node').lift
1313
};
1414

1515
module.exports.java = java;

0 commit comments

Comments
 (0)