fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Visual editor: tabs view supports icons in tab titles
[fnpeditor.git]
/
modules
/
skelton.js
diff --git
a/modules/skelton.js
b/modules/skelton.js
index
3141459
..
28780f2
100644
(file)
--- a/
modules/skelton.js
+++ b/
modules/skelton.js
@@
-1,4
+1,6
@@
-rng.modules.skelton = function(sandbox) {
\r
+define(function() {
\r
+
\r
+return function(sandbox) {
\r
\r
var view = $(sandbox.getTemplate('main')());
\r
\r
\r
var view = $(sandbox.getTemplate('main')());
\r
\r
@@
-28,4
+30,6
@@
rng.modules.skelton = function(sandbox) {
view.find('[data-cmd='+cmd+']').removeClass('disabled');
\r
}
\r
}
\r
view.find('[data-cmd='+cmd+']').removeClass('disabled');
\r
}
\r
}
\r
-};
\ No newline at end of file
+};
\r
+
\r
+});
\ No newline at end of file