+8
-1
| // Generated by LiveScript 1.5.0 | ||
| (function(){ | ||
| var co, unthenify, yfy, yfy_node, yfy_multi, yfy_multi_node, cfy, cfy_varargs, cfy_node, cfy_varargs_node, out$ = typeof exports != 'undefined' && exports || this, slice$ = [].slice; | ||
| var co, unthenify, add_noerr, yfy, yfy_node, yfy_multi, yfy_multi_node, cfy, cfy_varargs, cfy_node, cfy_varargs_node, out$ = typeof exports != 'undefined' && exports || this, slice$ = [].slice; | ||
| co = require('co'); | ||
| unthenify = require('unthenify'); | ||
| out$.add_noerr = add_noerr = function(callback){ | ||
| return function(cb){ | ||
| return callback(function(res){ | ||
| return cb(null, res); | ||
| }); | ||
| }; | ||
| }; | ||
| out$.yfy = yfy = function(f){ | ||
@@ -7,0 +14,0 @@ return function(){ |
+1
-1
| { | ||
| "name": "cfy", | ||
| "version": "1.0.17", | ||
| "version": "1.0.18", | ||
| "description": "Use generators and yield to write regular callback-based functions", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
32316
2.42%287
2.5%