Closed ianharrigan closed 10 years ago
Im trying to run a script that uses json:
var lv = create("listview"); lv.width = 200; lv.height = 200; lv.dataSource.add({"text": "Item 1"});
And you get the error "EUnexpected(:)"... This can be fixed by setting "allowJSON" to true, ie:
hScriptParser.allowJSON = true;
in DCCommands.
Thanks
Im trying to run a script that uses json:
And you get the error "EUnexpected(:)"... This can be fixed by setting "allowJSON" to true, ie:
in DCCommands.