synchronize
Advanced tools
Comparing version 0.5.3 to 0.6.0
{ | ||
"name" : "synchronize", | ||
"main" : "./sync", | ||
"version" : "0.5.3", | ||
"version" : "0.6.0", | ||
"homepage" : "http://alexeypetrushin.github.com/synchronize", | ||
@@ -20,2 +20,2 @@ "dependencies" : { | ||
"license" : "MIT" | ||
} | ||
} |
@@ -7,7 +7,2 @@ synchronize.js allows You write asynchronous code as if it's synchronous. | ||
Contributors | ||
- [Alexey Petrushin](https://github.com/alexeypetrushin) | ||
- [d3m3vilurr](https://github.com/d3m3vilurr) | ||
Copyright (c) Alexey Petrushin, http://petrush.in, released under the MIT license. |
@@ -25,2 +25,3 @@ var Fiber = require('fibers') | ||
// Sometimes `Fiber` needed outside of `sync`. | ||
sync.Fiber = Fiber | ||
@@ -153,4 +154,3 @@ | ||
sync.asyncIt = function(cb){ | ||
if(!cb) throw "no callback for async spec helper!" | ||
return function(done){sync.fiber(cb.bind(this), done)} | ||
} | ||
return function(done){sync.fiber(cb, done)} | ||
} |
217873
26
6346
7