on master help sign in
Correct error with `sampleOn` function.
1430e8fevancz
core-js/Prelude.js+2−1
@@ -87,6 +87,7 @@ var Prelude = function() {
87 dropIf : Signal.dropIf,
87 dropIf : Signal.dropIf,
88 keepWhen : Signal.keepWhen,
88 keepWhen : Signal.keepWhen,
89 dropWhen : Signal.dropWhen,
89 dropWhen : Signal.dropWhen,
90− dropRepeats : Signal.dropRepeats
90+ dropRepeats : Signal.dropRepeats,
91+ sampleOn : Signal.sampleOn
91 };
92 };
92}();
93}();
core-js/runtime/Dispatcher.js+1−1
@@ -115,7 +115,7 @@ var Elm = function() {
115 keepWhen : function(s) { return dropWhen(new lift(function(b){return !b;},[s])); },
115 keepWhen : function(s) { return dropWhen(new lift(function(b){return !b;},[s])); },
116 dropWhen : dropWhen,
116 dropWhen : dropWhen,
117 dropRepeats : function(s) { return new dropRepeats(s);},
117 dropRepeats : function(s) { return new dropRepeats(s);},
118− sampleOn : sampleOn
118+ sampleOn : function(s1) { return function(s2) { return new sampleOn(s1,s2); }; }
119 };
119 };
120}();
120}();
121
121
core-js/runtime/Signal.js+2−1
@@ -311,6 +311,7 @@ var Signal = function() {
311 dropIf : Elm.dropIf,
311 dropIf : Elm.dropIf,
312 keepWhen : Elm.keepWhen,
312 keepWhen : Elm.keepWhen,
313 dropWhen : Elm.dropWhen,
313 dropWhen : Elm.dropWhen,
314− dropRepeats : Elm.dropRepeats
314+ dropRepeats : Elm.dropRepeats,
315+ sampleOn : Elm.sampleOn
315 };
316 };
316}();
317}();