X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/0990bc1dc7fad5165148a8993901138de9e22d0e..2ffd7ab0bf214b5221d52e25ba081d944ba35843:/src/editor/modules/sourceEditor/sourceEditor.js diff --git a/src/editor/modules/sourceEditor/sourceEditor.js b/src/editor/modules/sourceEditor/sourceEditor.js index a2ec127..c805b1b 100644 --- a/src/editor/modules/sourceEditor/sourceEditor.js +++ b/src/editor/modules/sourceEditor/sourceEditor.js @@ -1,10 +1,10 @@ -define(['libs/jquery'], function($) { +define(['libs/jquery', 'libs/text!./template.html'], function($, template) { 'use strict'; return function(sandbox) { - var view = $(sandbox.getTemplate('main')()), + var view = $(template), documentIsDirty = true, documentEditedHere = false, wlxmlDocument;