gitlab-org--gitlab-foss/app/assets/javascripts/network.js.coffee
2013-07-15 15:03:56 +03:00

11 lines
278 B
CoffeeScript

class Network
constructor: (opts) ->
$("#filter_ref").click ->
$(this).closest('form').submit()
branch_graph = new BranchGraph($(".network-graph"), opts)
vph = $(window).height() - 250
$('.network-graph').css 'height': (vph + 'px')
@Network = Network