X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/0990bc1dc7fad5165148a8993901138de9e22d0e..2eac26a1b1fc8995dcebeba22f6991ef3542a886:/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;