fable-core
Advanced tools
Comparing version 0.7.29 to 0.7.30
{ | ||
"name": "fable-core", | ||
"version": "0.7.29", | ||
"version": "0.7.30", | ||
"description": "Fable core lib & bindings for native JS objects, browser and node APIs", | ||
@@ -5,0 +5,0 @@ "main": "Main.js", |
@@ -98,3 +98,3 @@ import { equals } from "./Util"; | ||
var iter = xs[Symbol.iterator](); | ||
var output = null; | ||
var output = { value: null }; | ||
return unfold(function (innerIter) { | ||
@@ -115,3 +115,3 @@ var hasFinished = false; | ||
if (!cur.done) { | ||
output = cur.value; | ||
output = { value: cur.value }; | ||
hasFinished = true; | ||
@@ -124,3 +124,3 @@ } | ||
} | ||
return innerIter != null && output != null ? [output, innerIter] : null; | ||
return innerIter != null && output != null ? [output.value, innerIter] : null; | ||
}, null); | ||
@@ -127,0 +127,0 @@ }); |
@@ -117,3 +117,3 @@ (function (factory) { | ||
var iter = xs[Symbol.iterator](); | ||
var output = null; | ||
var output = { value: null }; | ||
return unfold(function (innerIter) { | ||
@@ -134,3 +134,3 @@ var hasFinished = false; | ||
if (!cur.done) { | ||
output = cur.value; | ||
output = { value: cur.value }; | ||
hasFinished = true; | ||
@@ -143,3 +143,3 @@ } | ||
} | ||
return innerIter != null && output != null ? [output, innerIter] : null; | ||
return innerIter != null && output != null ? [output.value, innerIter] : null; | ||
}, null); | ||
@@ -146,0 +146,0 @@ }); |
Sorry, the diff of this file is not supported yet
4709419