X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/0f2c47c0ac58d2ee6b7ce7981a8f277a6b237051..179b145075f8f90038cba27e30a4fcadd3a764ff:/modules/documentToolbar/documentToolbar.js?ds=inline diff --git a/modules/documentToolbar/documentToolbar.js b/modules/documentToolbar/documentToolbar.js index e4d5039..e3bc1eb 100644 --- a/modules/documentToolbar/documentToolbar.js +++ b/modules/documentToolbar/documentToolbar.js @@ -1,11 +1,11 @@ -define(['libs/jquery-1.9.1.min', 'libs/underscore-min', 'libs/text!./template.html'], function($, _, template) { +define(['libs/jquery-1.9.1.min', 'libs/underscore-min', 'utils/wlxml', 'libs/text!./template.html'], function($, _, wlxmlUtils, template) { 'use strict'; return function(sandbox) { var view = { - node: $(_.template(template)()), + node: $(_.template(template)({tagNames: wlxmlUtils.wlxmlTagNames, classNames: wlxmlUtils.wlxmlClassNames})), setup: function() { var view = this;