Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
init: function() {
Node.prototype.init.call(this);
this.graph = Value.query(this, 'target.data.profile.data.modules').pipe('itemsChanged', function(modules) {
if (!modules) {
return;
}
var nodes = [];
var links = [];
modules.forEach(function(module) {
// todo add error/warning count
nodes.push({
id: module.data.name,
group: getTypeByExt(module.data.name),
main: !module.data.reasons.itemCount
});
emit_update: function(delta){
Node.prototype.groupingClass.prototype.emit_update.call(this, delta);
if ('grouping' in delta)
{
if (this.data.grouping)
this.setGrouping({
delegate: instanceMap[this.data.grouping]
});
else
this.setGrouping();
}
},
init: function(){
init: function() {
this.childNodes = this.locations || this.childNodes;
Node.prototype.init.call(this);
}
});
destroy: function(){
this.showSource.destroy();
this.showSource = null;
Node.prototype.destroy.call(this);
}
});
init: function() {
Node.prototype.init.call(this);
this.setSize(this.size);
}
});
init: function() {
Node.prototype.init.call(this);
this.dde = new MoveableElement();
},
templateSync: function() {
init: function() {
Node.prototype.init.call(this);
this.tooltip = new this.tooltipClass({
delegate: Value.query(this, 'selection.pick()')
});
}
});
templateSync: function(){
Node.prototype.templateSync.call(this);
if (!SUPPORT_DISPLAYBOX)
{
listenResize(this.element, this.realign, this);
listenResize(this.childNodesElement, this.realign, this);
}
},
realign: function(){
init: function(){
Node.prototype.init.call(this);
this.syncLocList();
}
}
destroy: function(){
this.scroller.destroy();
this.scroller = null;
Node.prototype.destroy.call(this);
}
});