Skip to content

Commit f30cf0a

Browse files
authored
Streams should be in ES5
1 parent ee232f0 commit f30cf0a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

stream/stream.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Stream.combine = combine
1010
Stream.scanMerge = scanMerge
1111
Stream["fantasy-land/of"] = Stream
1212

13-
let warnedHalt = false
13+
var warnedHalt = false
1414
Object.defineProperty(Stream, "HALT", {
1515
get: function() {
1616
warnedHalt && console.log("HALT is deprecated and has been renamed to SKIP");
@@ -55,7 +55,7 @@ function Stream(value) {
5555
return target
5656
}
5757

58-
let end
58+
var end
5959
function createEnd() {
6060
end = Stream()
6161
end.map(function(value) {
@@ -90,7 +90,7 @@ function combine(fn, streams) {
9090
? Stream(fn.apply(null, streams.concat([streams])))
9191
: Stream()
9292

93-
let changed = []
93+
var changed = []
9494

9595
streams.forEach(function(s) {
9696
s.map(function(value) {

0 commit comments

Comments
 (0)