eventBus.trigger.apply(eventBus, arguments);
};
- this.node = documentElement.data('wlxmlNode');
-
+ this.node = documentElement.wlxmlNode;
};
var getDisplayStyle = function(tag, klass) {
this.el.setDisplayStyle(getDisplayStyle(this.el.tag(), this.el.klass()));
this.el.clearWidgets();
- this.el.addWidget(widgets.labelWidget(this.el.tag(), this.el.klass()));
-
},
toggle: function(toggle) {
this.el.toggle(toggle);
$.extend(ListItemManager.prototype, {
setup: function() {
this.el.clearWidgets();
- this.el.addWidget(widgets.labelWidget(this.el.tag(), this.el.klass()));
- this.el.documentElement._container().css({display: 'list-item'});
},
toggleBullet: function(toggle) {
this.el.documentElement._container().css({display : toggle ? 'list-item' : 'block'});
$.extend(CommentManager.prototype, {
setup: function() {
this.el.clearWidgets();
- this.el.addWidget(widgets.labelWidget(this.el.tag(), this.el.klass()));
this.widget = widgets.commentAdnotation(this.el.node);
this.el.addWidget(this.widget);