X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/84eba72af147a175fb93b7305c1d42b0a4987a8c..4a10da821d96b8e462cc9db5e74e2507445eee76:/modules/sourceEditor/sourceEditor.js 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