Skip to content

Commit 0cbfad2

Browse files
committed
fix options
1 parent f2aec7e commit 0cbfad2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

index.html

+5-1
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,11 @@ <h1>Try it online</h1>
200200
var parser = require('php-parser');
201201
var editor = ace.edit("editor");
202202
var container = document.getElementById("jsoneditor");
203-
var options = {parser: {}};
203+
var options = {
204+
ast: {},
205+
parser: {},
206+
lexer: {}
207+
};
204208
var json = new JSONEditor(container, {
205209
mode: 'view'
206210
});

0 commit comments

Comments
 (0)