Closes issue #449.

This commit is contained in:
Kris Maglione committed 2011-10-07 03:17:52 -04:00
1 parent 7028b8b84e
commit 40a23fc7cd
3 files changed
+34 -26

No files matched your search

+2 -5
View File
@@ -942,12 +942,9 @@ var CommandLine = Module("commandline", {
if (/^\s*$/.test(str))
return;
this.store = this.store.filter(function (line) (line.value || line) != str);
try {
dactyl.trapErrors(function () {
this.store.push({ value: str, timestamp: Date.now()*1000, privateData: this.checkPrivate(str) });
}
catch (e) {
dactyl.reportError(e);
}
}, this);
this.store = this.store.slice(-options["history"]);
},
/**