2016-11-15 09:08:06 -05:00
|
|
|
/* eslint-disable func-names, space-before-function-paren, wrap-iife, no-var, quotes, no-undef, quote-props, prefer-template, comma-dangle, padded-blocks, max-len */
|
2016-07-24 16:45:11 -04:00
|
|
|
(function() {
|
|
|
|
this.Network = (function() {
|
|
|
|
function Network(opts) {
|
|
|
|
var vph;
|
|
|
|
$("#filter_ref").click(function() {
|
|
|
|
return $(this).closest('form').submit();
|
|
|
|
});
|
|
|
|
this.branch_graph = new BranchGraph($(".network-graph"), opts);
|
|
|
|
vph = $(window).height() - 250;
|
|
|
|
$('.network-graph').css({
|
|
|
|
'height': vph + 'px'
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
return Network;
|
|
|
|
|
|
|
|
})();
|
|
|
|
|
|
|
|
}).call(this);
|