editor: canvas - consider list subclasses when styling lists
[fnpeditor.git] / src / editor / modules / sourceEditor / sourceEditor.js
index a2ec127..c805b1b 100644 (file)
@@ -1,10 +1,10 @@
-define(['libs/jquery'], function($) {
+define(['libs/jquery', 'libs/text!./template.html'], function($, template) {
 
 'use strict';
 
 return function(sandbox) {
 
 
 'use strict';
 
 return function(sandbox) {
 
-    var view = $(sandbox.getTemplate('main')()),
+    var view = $(template),
         documentIsDirty = true,
         documentEditedHere = false,
         wlxmlDocument;
         documentIsDirty = true,
         documentEditedHere = false,
         wlxmlDocument;