mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-26 07:58:34 +02:00
remove getRegex since it is no longer used
This commit is contained in:
parent
9821df3bb7
commit
d04817f7d1
2 changed files with 0 additions and 24 deletions
|
@ -9884,14 +9884,6 @@ var commands = {
|
||||||
commandConfig[name].execute.call(this, engine, commandObj);
|
commandConfig[name].execute.call(this, engine, commandObj);
|
||||||
},
|
},
|
||||||
|
|
||||||
getRegex: function(name) {
|
|
||||||
name = name.replace(/-/g, ''); // ugh cherry-pick @____@
|
|
||||||
if (!commandConfig[name]) {
|
|
||||||
throw new Error('i dont have a regex for ' + name);
|
|
||||||
}
|
|
||||||
return commandConfig[name].regex;
|
|
||||||
},
|
|
||||||
|
|
||||||
getShortcutMap: function() {
|
getShortcutMap: function() {
|
||||||
var map = {'git': {}};
|
var map = {'git': {}};
|
||||||
this.loop(function(config, name, vcs) {
|
this.loop(function(config, name, vcs) {
|
||||||
|
@ -23779,14 +23771,6 @@ var commands = {
|
||||||
commandConfig[name].execute.call(this, engine, commandObj);
|
commandConfig[name].execute.call(this, engine, commandObj);
|
||||||
},
|
},
|
||||||
|
|
||||||
getRegex: function(name) {
|
|
||||||
name = name.replace(/-/g, ''); // ugh cherry-pick @____@
|
|
||||||
if (!commandConfig[name]) {
|
|
||||||
throw new Error('i dont have a regex for ' + name);
|
|
||||||
}
|
|
||||||
return commandConfig[name].regex;
|
|
||||||
},
|
|
||||||
|
|
||||||
getShortcutMap: function() {
|
getShortcutMap: function() {
|
||||||
var map = {'git': {}};
|
var map = {'git': {}};
|
||||||
this.loop(function(config, name, vcs) {
|
this.loop(function(config, name, vcs) {
|
||||||
|
|
|
@ -16,14 +16,6 @@ var commands = {
|
||||||
commandConfig[name].execute.call(this, engine, commandObj);
|
commandConfig[name].execute.call(this, engine, commandObj);
|
||||||
},
|
},
|
||||||
|
|
||||||
getRegex: function(name) {
|
|
||||||
name = name.replace(/-/g, ''); // ugh cherry-pick @____@
|
|
||||||
if (!commandConfig[name]) {
|
|
||||||
throw new Error('i dont have a regex for ' + name);
|
|
||||||
}
|
|
||||||
return commandConfig[name].regex;
|
|
||||||
},
|
|
||||||
|
|
||||||
getShortcutMap: function() {
|
getShortcutMap: function() {
|
||||||
var map = {'git': {}};
|
var map = {'git': {}};
|
||||||
this.loop(function(config, name, vcs) {
|
this.loop(function(config, name, vcs) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue