summaryrefslogtreecommitdiff
path: root/common/content/editor.js
diff options
context:
space:
mode:
Diffstat (limited to 'common/content/editor.js')
-rw-r--r--common/content/editor.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/content/editor.js b/common/content/editor.js
index aa449165..906d6bb3 100644
--- a/common/content/editor.js
+++ b/common/content/editor.js
@@ -581,7 +581,7 @@ var Editor = Module("editor", {
mappings.add([modes.INSERT],
["<C-t>"], "Edit text field in Vi mode",
function () {
- dactyl.assert(!editor.isTextEdit)
+ dactyl.assert(!editor.isTextEdit);
modes.push(modes.TEXT_EDIT);
});
@@ -774,7 +774,7 @@ var Editor = Module("editor", {
has: function (key) set.has(util.compileMacro(this.value).seen, key),
validator: function (value) {
this.format({}, value);
- return Object.keys(util.compileMacro(value).seen).every(function (k) ["column", "file", "line"].indexOf(k) >= 0)
+ return Object.keys(util.compileMacro(value).seen).every(function (k) ["column", "file", "line"].indexOf(k) >= 0);
}
});