mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-07-13 16:14:27 +02:00
Fixed typos in comments and strings
This commit is contained in:
parent
5e8d83536e
commit
694f414e22
21 changed files with 46 additions and 46 deletions
|
@ -76,7 +76,7 @@ EventBaton.prototype.passBatonBack = function(name, func, context, args) {
|
|||
}
|
||||
});
|
||||
if (indexBefore === undefined) {
|
||||
throw new Error('you are the last baton holder! or i didnt find you');
|
||||
throw new Error('you are the last baton holder! or i didn\'t find you');
|
||||
}
|
||||
var toCallObj = listeners[indexBefore];
|
||||
|
||||
|
@ -105,7 +105,7 @@ EventBaton.prototype.releaseBaton = function(name, func, context) {
|
|||
if (!found) {
|
||||
console.log('did not find that function', func, context, name, arguments);
|
||||
console.log(this.eventMap);
|
||||
throw new Error('cant releasebaton if yu dont have it');
|
||||
throw new Error('cant releasebaton if yu don\'t have it');
|
||||
}
|
||||
this.eventMap[name] = newListeners;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue