Update loopback, ThunderCats and RxJS.

closes #2929
This commit is contained in:
Berkeley Martinez
2015-10-11 15:57:49 -07:00
parent 02ed450b96
commit 7b444b15dc
8 changed files with 43 additions and 30 deletions

View File

@@ -186,7 +186,7 @@ module.exports = function(app) {
);
}
const firstChallengeOfNextBlock$ = blocks$
.elementAtOrDefault(blockIndex + 1, {})
.elementAt(blockIndex + 1, {})
.map(({ challenges = [] }) => challenges[0]);
return blocks$
@@ -259,7 +259,7 @@ module.exports = function(app) {
.filter((challenge) => {
return testChallengeName.test(challenge.name);
})
.lastOrDefault(null)
.last({ defaultValue: null })
.flatMap(challenge => {
// Handle not found