diff --git a/build/bundle.js b/build/bundle.js index 3437416a..279a6bf6 100644 --- a/build/bundle.js +++ b/build/bundle.js @@ -11078,6 +11078,7 @@ var Command = Backbone.Model.extend({ Errors.filterError(err); // errorChanged() will handle status and all of that this.set('error', err); + return; } if (this.parseAll()) { @@ -11391,10 +11392,13 @@ ParseWaterfall.prototype.processAllInstants = function(commandStr) { }; ParseWaterfall.prototype.processInstant = function(commandStr, instantCommands) { + console.log('processing', commandStr, 'with', instantCommands); _.each(instantCommands, function(tuple) { var regex = tuple[0]; + console.log('the regex', regex); var results = regex.exec(commandStr); if (results) { + console.log('results', results); // this will throw a result tuple[1](results); } @@ -16445,10 +16449,13 @@ ParseWaterfall.prototype.processAllInstants = function(commandStr) { }; ParseWaterfall.prototype.processInstant = function(commandStr, instantCommands) { + console.log('processing', commandStr, 'with', instantCommands); _.each(instantCommands, function(tuple) { var regex = tuple[0]; + console.log('the regex', regex); var results = regex.exec(commandStr); if (results) { + console.log('results', results); // this will throw a result tuple[1](results); } @@ -16717,6 +16724,7 @@ var Command = Backbone.Model.extend({ Errors.filterError(err); // errorChanged() will handle status and all of that this.set('error', err); + return; } if (this.parseAll()) { diff --git a/src/js/level/parseWaterfall.js b/src/js/level/parseWaterfall.js index 60c14d76..63060c12 100644 --- a/src/js/level/parseWaterfall.js +++ b/src/js/level/parseWaterfall.js @@ -43,10 +43,13 @@ ParseWaterfall.prototype.processAllInstants = function(commandStr) { }; ParseWaterfall.prototype.processInstant = function(commandStr, instantCommands) { + console.log('processing', commandStr, 'with', instantCommands); _.each(instantCommands, function(tuple) { var regex = tuple[0]; + console.log('the regex', regex); var results = regex.exec(commandStr); if (results) { + console.log('results', results); // this will throw a result tuple[1](results); } diff --git a/src/js/models/commandModel.js b/src/js/models/commandModel.js index 421e9329..02baaf40 100644 --- a/src/js/models/commandModel.js +++ b/src/js/models/commandModel.js @@ -88,6 +88,7 @@ var Command = Backbone.Model.extend({ Errors.filterError(err); // errorChanged() will handle status and all of that this.set('error', err); + return; } if (this.parseAll()) {