Created
November 23, 2013 05:11
-
-
Save trxcllnt/7611075 to your computer and use it in GitHub Desktop.
Browserify + Rx
This file contains 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
// Have to do this to browserify Rx :/ | |
window.global = window; | |
var Rx = require('rx'); | |
Rx.Observable.interval(100).subscribe(function(i) { | |
console.log(i); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment