View -
1 2 3 4 5 6 7 8 9
var Rx = require('rx');
 
var subjects = {};
 
function create(sn) {
 
var s = new Rx.Subject();
 
subjects[sn] = s;
View foo.javascript
1 2 3 4 5 6 7 8 9 10
var Rx = require('rx');
 
var profileSwitchSuccess = new Rx.Subject();
var cacheExpiryInHomeOnForeground = new Rx.Subject();
var loginCheckDone = new Rx.Subject();
 
profileSwitchSuccess.asObservable().
map(function () {
return true;
}).
View foo.javascript
1 2 3 4 5 6 7 8 9 10
var Rx = require('rx');
 
var profileSwitchSuccess = new Rx.Subject();
var cacheExpiryInHomeOnForeground = new Rx.Subject();
var loginCheckDone = new Rx.Subject();
 
profileSwitchSuccess.asObservable().
do(function () {
console.log('profile switch success');
}).
View foo.javascript
1 2 3 4 5 6 7 8 9 10
profileSwitchSuccesses.
startWith(true).
flatMapLatest(function () {
return cacheExpiryInHomeOnForegrounds.
flatMapLatest(function() {
return EventManager.observe(EventManager.APP.EVENT_LOGIN_CHECK_DONE).
take(1).
filter(isLoggedIn);
});
}).
View foo.javascript
1 2 3 4 5 6 7 8 9
var Rx = require('rx');
 
var e1 = new Rx.Subject();
var e2 = new Rx.Subject();
var e3 = new Rx.Subject();
 
var e1s = e1.asObservable();
var e2s = e2.asObservable();
var e3s = e3.asObservable();
View -
1 2 3 4 5 6 7 8 9
var Rx = require('rx');
 
var e1 = new Rx.Subject();
var e2 = new Rx.Subject();
var e3 = new Rx.Subject();
 
var e1s = e1.asObservable();
var e2s = e2.asObservable();
var e3s = e3.asObservable();
View -
1 2 3 4 5 6 7 8 9
var Rx = require('rx');
 
var e1 = new Rx.Subject();
var e2 = new Rx.Subject();
var e3 = new Rx.Subject();
 
var e1s = e1.asObservable();
var e2s = e2.asObservable();
var e3s = e3.asObservable();
View -
1 2 3 4 5 6 7 8 9 10
var Rx = require('rx');
 
var s = new Rx.Subject();
 
var r = s.asObservable().replay();
 
r.connect();
 
s.onNext(1);
s.onNext(2);
View index.html
1 2 3
<div id="body">
<input id="mdxRatings" type="range" class="ratings" min="1" max="5" value="1" onchange="mdxRatings.dataset.value=value;" />
</div>
View non-github
1 2 3 4 5 6 7 8 9 10
{"name":"11-packagemath","url":"git"},
{"name":"11-packagename","url":"git"},
{"name":"a2s","url":"git@github_personal:Schoonology/node-a2s.git"},
{"name":"aaa","url":"http:/www.google.git"},
{"name":"abc-web","url":"git@gitlab.alibaba-inc.com:abc/abc-ui.git"},
{"name":"abc-generator","url":"git@gitlab.alibaba-inc.com:abc/abc-generator.git"},
{"name":"abc-web-core","url":"git@gitlab.alibaba-inc.com:abc/abc-web-core.git"},
{"name":"acorn","url":"http://marijnhaverbeke.nl/git/acorn"},
{"name":"acs-cli","url":"https://bitbucket.org/tellagostudios/node-acs-cli.git"},
{"name":"actionman","url":"https://bitbucket.org/DamonOehlman/actionman.git"},
Something went wrong with that request. Please try again.