fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Simplifying toolbar list button
[fnpeditor.git]
/
modules
/
nodePane
/
nodePane.js
diff --git
a/modules/nodePane/nodePane.js
b/modules/nodePane/nodePane.js
index
3a4a0ef
..
b723e68
100644
(file)
--- a/
modules/nodePane/nodePane.js
+++ b/
modules/nodePane/nodePane.js
@@
-2,14
+2,15
@@
define([
'libs/text!./template.html',
'libs/jquery-1.9.1.min',
'libs/underscore-min',
'libs/text!./template.html',
'libs/jquery-1.9.1.min',
'libs/underscore-min',
-'modules/nodePane/metaWidget/metaWidget'
-], function(templateSrc, $, _, metaWidget) {
+'modules/nodePane/metaWidget/metaWidget',
+'utils/wlxml'
+], function(templateSrc, $, _, metaWidget, wlxmlUtils) {
'use strict';
return function(sandbox) {
'use strict';
return function(sandbox) {
- var view = $(_.template(templateSrc)());
+ var view = $(_.template(templateSrc)(
{tagNames: wlxmlUtils.wlxmlTagNames, classNames: wlxmlUtils.wlxmlClassNames}
));
view.on('change', 'select', function(e) {
var target = $(e.target);
view.on('change', 'select', function(e) {
var target = $(e.target);