2014-08-21 04:14:31 -04:00
|
|
|
class @Network
|
2013-07-15 08:03:56 -04:00
|
|
|
constructor: (opts) ->
|
|
|
|
$("#filter_ref").click ->
|
|
|
|
$(this).closest('form').submit()
|
|
|
|
|
2014-08-21 04:14:31 -04:00
|
|
|
@branch_graph = new BranchGraph($(".network-graph"), opts)
|
2013-07-15 08:03:56 -04:00
|
|
|
|
|
|
|
vph = $(window).height() - 250
|
|
|
|
$('.network-graph').css 'height': (vph + 'px')
|