X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/95f83648504b6552ff3cbf956f55c6bf5f542a9b..969f365b3ee6d3cb54f98b23e1ebb97df9f801dd:/modules/sourceEditor/sourceEditor.js?ds=inline diff --git a/modules/sourceEditor/sourceEditor.js b/modules/sourceEditor/sourceEditor.js index 431fcb8..1c18e75 100644 --- a/modules/sourceEditor/sourceEditor.js +++ b/modules/sourceEditor/sourceEditor.js @@ -15,7 +15,7 @@ return function(sandbox) { editor.getSession().on('change', function() { sandbox.publish('xmlChanged'); - }) + }); return { start: function() { sandbox.publish('ready'); @@ -25,13 +25,13 @@ return function(sandbox) { }, setDocument: function(document) { editor.setValue(document); - editor.gotoLine(0) + editor.gotoLine(0); sandbox.publish('documentSet'); }, getDocument: function() { return editor.getValue(); } - } + }; }; }); \ No newline at end of file