synchronize
Advanced tools
Comparing version 0.5.1 to 0.5.2
{ | ||
"name" : "synchronize", | ||
"main" : "./sync", | ||
"version" : "0.5.1", | ||
"version" : "0.5.2", | ||
"homepage" : "http://alexeypetrushin.github.com/synchronize", | ||
"dependencies" : { | ||
"fibers" : "0.6.x" | ||
"fibers" : "1.0.x" | ||
}, | ||
@@ -20,2 +20,2 @@ "devDependencies" : { | ||
"license" : "MIT" | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
require('fibers') | ||
var Fiber = require('fibers') | ||
@@ -52,3 +52,3 @@ // Takes function and returns its synchronized version, it's still backward compatible and | ||
// Use it to wait for asynchronous callback. | ||
sync.await = global.yield | ||
sync.await = Fiber.yield | ||
@@ -153,2 +153,2 @@ // Creates fiber-aware asynchronous callback resuming current fiber when it will be finished. | ||
return function(done){sync.fiber(cb.bind(this), done)} | ||
} | ||
} |
183229
5734
+ Addedfibers@1.0.15(transitive)
- Removedfibers@0.6.9(transitive)
Updatedfibers@1.0.x