fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removing unused code
[fnpeditor.git]
/
modules
/
documentCanvas
/
documentCanvas.js
diff --git
a/modules/documentCanvas/documentCanvas.js
b/modules/documentCanvas/documentCanvas.js
index
031ca1f
..
ea44955
100644
(file)
--- a/
modules/documentCanvas/documentCanvas.js
+++ b/
modules/documentCanvas/documentCanvas.js
@@
-182,7
+182,7
@@
return function(sandbox) {
},
\r
highlightNode: function(node) {
\r
if(!this.gridToggled) {
\r
},
\r
highlightNode: function(node) {
\r
if(!this.gridToggled) {
\r
- node.addClass('rng-
hover
');
\r
+ node.addClass('rng-
common-hoveredNode
');
\r
var label = node.attr('wlxml-tag');
\r
if(node.attr('wlxml-class'))
\r
label += ' / ' + node.attr('wlxml-class');
\r
var label = node.attr('wlxml-tag');
\r
if(node.attr('wlxml-class'))
\r
label += ' / ' + node.attr('wlxml-class');
\r
@@
-192,7
+192,7
@@
return function(sandbox) {
},
\r
dimNode: function(node) {
\r
if(!this.gridToggled) {
\r
},
\r
dimNode: function(node) {
\r
if(!this.gridToggled) {
\r
- node.removeClass('rng-
hover
');
\r
+ node.removeClass('rng-
common-hoveredNode
');
\r
node.find('.rng-module-documentCanvas-hoveredNodeTag').remove();
\r
}
\r
},
\r
node.find('.rng-module-documentCanvas-hoveredNodeTag').remove();
\r
}
\r
},
\r
@@
-219,7
+219,7
@@
return function(sandbox) {
this.selectNode(node);
\r
},
\r
toggleGrid: function(toggle) {
\r
this.selectNode(node);
\r
},
\r
toggleGrid: function(toggle) {
\r
- this.node.find('[wlxml-tag]').toggleClass('rng-
hover
', toggle);
\r
+ this.node.find('[wlxml-tag]').toggleClass('rng-
common-hoveredNode
', toggle);
\r
this.gridToggled = toggle;
\r
}
\r
};
\r
this.gridToggled = toggle;
\r
}
\r
};
\r