Skip to content

Commit

Permalink
Add missing semicolons
Browse files Browse the repository at this point in the history
  • Loading branch information
marijnh committed Nov 29, 2012
1 parent 4052fbf commit 7214c38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/util/closetag.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
if (val && (old == CodeMirror.Init || !old)) {
var map = {name: "autoCloseTags"};
if (typeof val != "object" || val.whenClosing)
map["'/'"] = function(cm) { autoCloseTag(cm, '/'); }
map["'/'"] = function(cm) { autoCloseTag(cm, '/'); };
if (typeof val != "object" || val.whenOpening)
map["'>'"] = function(cm) { autoCloseTag(cm, '>'); }
map["'>'"] = function(cm) { autoCloseTag(cm, '>'); };
cm.addKeyMap(map);
} else if (!val && (old != CodeMirror.Init && old)) {
cm.removeKeyMap("autoCloseTags");
Expand Down

0 comments on commit 7214c38

Please sign in to comment.