Created
December 3, 2014 21:54
-
-
Save briancavalier/8171c2b10b04328bc0e5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var switchLatest = require('./lib/combinator/switch').switch; | |
| exports.switch = exports.switchLatest = switchLatest; | |
| Stream.prototype.switch = Stream.prototype.switchLatest = function() { | |
| return switchLatest(this); | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var switchLatest = require('./lib/combinator/switch').switch; | |
| exports.switch = switchLatest; | |
| exports.switchLatest = switchLatest; | |
| Stream.prototype.switch = Stream.prototype.switchLatest = function() { | |
| return switchLatest(this); | |
| }; |
unscriptable
commented
Dec 3, 2014
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment