synchronize
Advanced tools
Comparing version 0.6.0 to 0.6.1
{ | ||
"name" : "synchronize", | ||
"main" : "./sync", | ||
"version" : "0.6.0", | ||
"version" : "0.6.1", | ||
"homepage" : "http://alexeypetrushin.github.com/synchronize", | ||
@@ -6,0 +6,0 @@ "dependencies" : { |
@@ -153,3 +153,6 @@ var Fiber = require('fibers') | ||
sync.asyncIt = function(cb){ | ||
return function(done){sync.fiber(cb, done)} | ||
return function(done){ | ||
var that = this | ||
sync.fiber(function(){cb.call(that)}, done) | ||
} | ||
} |
217924
6349