+3
-3
@@ -158,11 +158,11 @@ "use strict"; | ||
| // Returns a new collection of the empty value of the from collection | ||
| _r.sequence.register(function(xf, from){ | ||
| _r.toArray.register(function(xf, from){ | ||
| if(isAsync(xf)){ | ||
| return Prom | ||
| .all([from]) | ||
| .then(_sequence(xf)); | ||
| .then(_toArray(xf)); | ||
| } | ||
| }); | ||
| function _sequence(xf){ | ||
| function _toArray(xf){ | ||
| return function(from){ | ||
@@ -169,0 +169,0 @@ from = from[0]; |
+3
-3
| { | ||
| "name": "underarm", | ||
| "version": "0.2.2", | ||
| "version": "0.3.0", | ||
| "description": "Underscore Transducer meets Reactive Programming", | ||
@@ -24,3 +24,3 @@ "main": "underarm.js", | ||
| "dependencies": { | ||
| "underscore-transducer": "~0.3.2", | ||
| "underscore-transducer": "~0.4.0", | ||
| "transduce-async": "~0.1.1", | ||
@@ -33,3 +33,3 @@ "any-promise": "~0.1.0", | ||
| "uglify-js": "~2.4.16", | ||
| "browserify": "~8.0.2", | ||
| "browserify": "~8.0.3", | ||
| "bundle-collapser": "~1.1.1", | ||
@@ -36,0 +36,0 @@ "transduce-then": "~0.1.1", |
+2
-2
@@ -51,4 +51,4 @@ # Underarm | ||
| ##### sequence(xf?, from?) | ||
| Like a normal `sequence` when chained transformation not `async`. If `async`, `coll` can be a Promise and `xf` can be an async transducer. | ||
| ##### toArray(xf?, from?) | ||
| Like a normal `toArray` when chained transformation not `async`. If `async`, `coll` can be a Promise and `xf` can be an async transducer. | ||
@@ -55,0 +55,0 @@ ##### defer() |
12047
-0.05%+ Added
+ Added
- Removed
- Removed
Updated