mirror of
https://github.com/felixlohmeier/turtle-web-editor.git
synced 2025-03-09 00:00:42 +01:00
get value from codemirror editor (fix)
This commit is contained in:
parent
7b6f4e98e2
commit
9a31ad1016
@ -3,7 +3,7 @@ $("#btn_validate").click( function () {
|
||||
$("#errors").html("");
|
||||
$("#results").html("");
|
||||
|
||||
validate($(editor.getValue()).val(), function (feedback) {
|
||||
validate(editor.getValue(), function (feedback) {
|
||||
$.each(feedback.warnings, function (index, warning) {
|
||||
$("#warnings").append($('<li id="warning' + index + '">').text(warning));
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user