logging to regain inspiration

This commit is contained in:
Peter Cottle 2013-05-11 23:19:33 -07:00
parent e1276066d0
commit 9637c0cfa6
8 changed files with 140 additions and 3 deletions

View file

@ -11,6 +11,7 @@ var Errors = require('../util/errors');
var Warning = Errors.Warning;
var util = require('../util');
var log = require('../log');
var keyboard = require('../util/keyboard');
var CommandPromptView = Backbone.View.extend({
@ -232,6 +233,7 @@ var CommandPromptView = Backbone.View.extend({
if (this.commands.length > 100) {
this.clearLocalStorage();
}
log.commandEntered(value);
},
submitCommand: function(value) {