synchronize
Advanced tools
Comparing version 0.5.0 to 0.5.1
@@ -8,6 +8,6 @@ var sync = require('synchronize') | ||
describe('File System', async(function(){ | ||
it('should read file', function(){ | ||
describe('File System', function(){ | ||
it('should read file', async(function(){ | ||
var data = fs.readFile(__filename, 'utf8') | ||
}) | ||
})) | ||
})) | ||
}) |
{ | ||
"name" : "synchronize", | ||
"main" : "./sync", | ||
"version" : "0.5.0", | ||
"version" : "0.5.1", | ||
"homepage" : "http://alexeypetrushin.github.com/synchronize", | ||
@@ -6,0 +6,0 @@ "dependencies" : { |
@@ -150,3 +150,4 @@ require('fibers') | ||
sync.asyncIt = function(cb){ | ||
return function(done){sync.fiber(cb, done)} | ||
if(!cb) throw "no callback for async spec helper!" | ||
return function(done){sync.fiber(cb.bind(this), done)} | ||
} |
Sorry, the diff of this file is not supported yet
183216
5733