Skip to content

Commit

Permalink
fix editor.html: 缩进错误
Browse files Browse the repository at this point in the history
  • Loading branch information
nuysoft committed Jun 2, 2015
1 parent 1017a67 commit d411c0b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions editor/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,9 @@
lineNumbers: true,
lineWrapping: true,
autofocus: true,
mode: 'javascript',
theme: 'neat'
mode: 'application/json',
theme: 'neat',
autoCloseBrackets: true
})
tplEditor.on('change', function(instance) {
render(instance.getValue())
Expand All @@ -156,7 +157,8 @@
lineNumbers: true,
autofocus: false,
mode: 'javascript',
theme: 'neat'
theme: 'neat',
autoCloseBrackets: true
})

// Syntax Demo
Expand Down

0 comments on commit d411c0b

Please sign in to comment.