mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-07-10 06:34:26 +02:00
Fix more typo, '
and some word
This commit is contained in:
parent
e8c8f8975a
commit
41bb6d1bd7
14 changed files with 35 additions and 38 deletions
|
@ -109,11 +109,11 @@ AppConstants.StoreSubscribePrototype,
|
|||
|
||||
getNextLevel: function(id) {
|
||||
if (!_levelMap[id]) {
|
||||
console.warn('that level doesnt exist!!!');
|
||||
console.warn('that level doesn\'t exist!!!');
|
||||
return null;
|
||||
}
|
||||
|
||||
// meh, this method could be better. It's a tradeoff between
|
||||
// meh, this method could be better. It's a trade-off between
|
||||
// having the sequence structure be really simple JSON
|
||||
// and having no connectivity information between levels, which means
|
||||
// you have to build that up yourself on every query
|
||||
|
@ -138,7 +138,7 @@ AppConstants.StoreSubscribePrototype,
|
|||
|
||||
isLevelSolved: function(levelID) {
|
||||
if (!_levelMap[levelID]) {
|
||||
throw new Error('that level doesnt exist!');
|
||||
throw new Error('that level doesn\'t exist!');
|
||||
}
|
||||
return !!_solvedMap[levelID];
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue