mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-27 08:28:50 +02:00
Minor formatting/typo fix
This commit is contained in:
parent
592399b1db
commit
ffe07fd193
3 changed files with 4 additions and 4 deletions
|
@ -57,7 +57,7 @@ var str = exports.str = function(key, params) {
|
|||
|
||||
var getIntlKey = exports.getIntlKey = function(obj, key, overrideLocale) {
|
||||
if (!obj || !obj[key]) {
|
||||
throw new Error('that key ' + key + 'doesn\'t exist in this blob' + obj);
|
||||
throw new Error('that key ' + key + ' doesn\'t exist in this blob ' + obj);
|
||||
}
|
||||
if (!obj[key][getDefaultLocale()]) {
|
||||
console.warn(
|
||||
|
|
|
@ -143,7 +143,7 @@ AppConstants.StoreSubscribePrototype,
|
|||
|
||||
getLevelsInSequence: function(sequenceName) {
|
||||
if (!levelSequences[sequenceName]) {
|
||||
throw new Error('that sequecne name ' + sequenceName + 'does not exist');
|
||||
throw new Error('that sequence name ' + sequenceName + ' does not exist');
|
||||
}
|
||||
return levelSequences[sequenceName];
|
||||
},
|
||||
|
|
|
@ -219,7 +219,7 @@ GitVisuals.prototype.animateAllAttrKeys = function(keys, attr, speed, easing) {
|
|||
GitVisuals.prototype.finishAnimation = function(speed) {
|
||||
speed = speed || 1.0;
|
||||
if (!speed) {
|
||||
throw new Error('need speed by time i finish animation' + speed);
|
||||
throw new Error('need speed by time i finish animation ' + speed);
|
||||
}
|
||||
|
||||
var _this = this;
|
||||
|
@ -309,7 +309,7 @@ GitVisuals.prototype.finishAnimation = function(speed) {
|
|||
animationDone.resolve();
|
||||
})
|
||||
.fail(function(reason) {
|
||||
console.warn('animation error' + reason);
|
||||
console.warn('animation error ' + reason);
|
||||
})
|
||||
.done();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue