ig-types 6.26.1 → 6.26.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Promise.js +1 -0
- package/package.json +1 -1
package/Promise.js
CHANGED
|
@@ -416,6 +416,7 @@ object.Constructor('IterablePromise', Promise, {
|
|
|
416
416
|
//
|
|
417
417
|
// pack and oprionally transform/handle an array (sync)...
|
|
418
418
|
__pack: function(list, handler=undefined, onerror=undefined){
|
|
419
|
+
var that = this
|
|
419
420
|
// handle iterable promise...
|
|
420
421
|
if(list instanceof IterablePromise){
|
|
421
422
|
return this.__handle(list.__packed, handler, onerror) }
|