mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-07-24 12:44:44 +02:00
Fixed typos in comments and strings
This commit is contained in:
parent
f0d19b96d4
commit
5a784ae15e
10 changed files with 14 additions and 14 deletions
|
@ -558,7 +558,7 @@ var commandConfig = {
|
|||
);
|
||||
|
||||
if (newCommit === undefined) {
|
||||
// its just a fast forwrard
|
||||
// its just a fast forward
|
||||
engine.animationFactory.refreshTree(
|
||||
engine.animationQueue, engine.gitVisuals
|
||||
);
|
||||
|
|
|
@ -251,7 +251,7 @@ TreeCompare.getNumHashes = function(ref) {
|
|||
return func(results);
|
||||
}
|
||||
}
|
||||
throw new Error('coudlnt parse ref ' + ref);
|
||||
throw new Error('couldnt parse ref ' + ref);
|
||||
};
|
||||
|
||||
TreeCompare.getBaseRef = function(ref) {
|
||||
|
|
|
@ -15,7 +15,7 @@ function DisabledMap(options) {
|
|||
|
||||
DisabledMap.prototype.getInstantCommands = function() {
|
||||
// this produces an array of regex / function pairs that can be
|
||||
// piped into a parse waterfall to disable certain git commmands
|
||||
// piped into a parse waterfall to disable certain git commands
|
||||
// :D
|
||||
var instants = [];
|
||||
var onMatch = function() {
|
||||
|
|
|
@ -343,7 +343,7 @@ var Level = Sandbox.extend({
|
|||
initParseWaterfall: function(options) {
|
||||
Level.__super__.initParseWaterfall.apply(this, [options]);
|
||||
|
||||
// add our specific functionaity
|
||||
// add our specific functionality
|
||||
this.parseWaterfall.addFirst(
|
||||
'parseWaterfall',
|
||||
parse
|
||||
|
|
|
@ -72,7 +72,7 @@ var Sandbox = Backbone.View.extend({
|
|||
},
|
||||
|
||||
takeControl: function() {
|
||||
// we will be handling commands that are submitted, mainly to add the sanadbox
|
||||
// we will be handling commands that are submitted, mainly to add the sandbox
|
||||
// functionality (which is included by default in ParseWaterfall())
|
||||
Main.getEventBaton().stealBaton('commandSubmitted', this.commandSubmitted, this);
|
||||
// we obviously take care of sandbox commands
|
||||
|
@ -232,7 +232,7 @@ var Sandbox = Backbone.View.extend({
|
|||
},
|
||||
|
||||
processSandboxCommand: function(command, deferred) {
|
||||
// I'm tempted to do camcel case conversion, but there are
|
||||
// I'm tempted to do cancel case conversion, but there are
|
||||
// some exceptions to the rule
|
||||
var commandMap = {
|
||||
'reset solved': this.resetSolved,
|
||||
|
|
|
@ -11,7 +11,7 @@ var MyError = Backbone.Model.extend({
|
|||
getMsg: function() {
|
||||
if (!this.get('msg')) {
|
||||
debugger;
|
||||
console.warn('mye rror without message');
|
||||
console.warn('my error without message');
|
||||
}
|
||||
return this.get('msg');
|
||||
}
|
||||
|
|
|
@ -89,7 +89,7 @@ var VisTag = VisBase.extend({
|
|||
|
||||
getTagStackIndex: function() {
|
||||
if (this.get('isHead')) {
|
||||
// head is never stacked with other Tages
|
||||
// head is never stacked with other Tags
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ var Visualization = Backbone.View.extend({
|
|||
this.paper = paper;
|
||||
|
||||
var Main = require('../app');
|
||||
// if we dont want to receive keyoard input (directly),
|
||||
// if we dont want to receive keyboard input (directly),
|
||||
// make a new event baton so git engine steals something that no one
|
||||
// is broadcasting to
|
||||
this.eventBaton = (options.noKeyboardInput) ?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue