Commit 81e90b05 authored by HERBERT Ryan's avatar HERBERT Ryan
Browse files

builder.js js server logging for builder

parent 915498ea
......@@ -20,38 +20,45 @@ Builder.prototype = {
init: function () {
var self = this;
try {
d3.select("#visu-separator")
.on("mousedown", function () {
self.dragSeparator();
});
d3.select("#visu-container")
.on("mouseup", function () {
self.dropSeparator()
})
d3.select("#visu-container")
.on("mousemove", function () {
self.updateSeparator()
})
d3.select("#vertical-separator")
.on("click", function () {
self.toggle_left_container()
});
d3.select("#visu-separator")
.on("mousedown", function () {
self.dragSeparator();
});
d3.select("#visu-container")
.on("mouseup", function () {
self.dropSeparator()
})
d3.select("#visu-container")
.on("mousemove", function () {
self.updateSeparator()
})
d3.select("#vertical-separator")
.on("click", function () {
self.toggle_left_container()
});
this.build_top_container()
this.build_info_container()
this.build_clusterSelector()
this.initTag();
if (this.m.samples.order.length == 1) this.resizeGraph(0)
else this.resizeGraph(50)
this.build_top_container()
this.build_info_container()
this.build_clusterSelector()
this.initTag();
if (this.m.samples.order.length == 1) this.resizeGraph(0)
else this.resizeGraph(50)
} catch (err) {
this.db.error(err.stack)
}
},
update: function () {
this.build_top_container()
this.build_info_container()
this.updateTagBox();
try {
this.build_top_container()
this.build_info_container()
this.updateTagBox();
} catch(err) {
this.db.error(err.stack)
}
},
updateElem: function () {},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment