Skip to content

Commit f4e3e81

Browse files
committed
Bind editor to variable in visibletabs.html
1 parent e3b00a8 commit f4e3e81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demo/visibletabs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ <h1>CodeMirror 2: Visible tabs demo</h1>
4848
image as an alternative.</p>
4949

5050
<script>
51-
CodeMirror.fromTextArea(document.getElementById("code"), {
51+
var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
5252
lineNumbers: true,
5353
tabSize: 4,
5454
indentUnit: 4,

0 commit comments

Comments
 (0)