Commit 536be744 authored by Mike Greiling's avatar Mike Greiling

remove unnecessary IIFE

parent b7bf9b41
...@@ -3,8 +3,7 @@ ...@@ -3,8 +3,7 @@
import Network from './network'; import Network from './network';
(function() { $(function() {
$(function() {
if (!$(".network-graph").length) return; if (!$(".network-graph").length) return;
var network_graph; var network_graph;
...@@ -15,5 +14,4 @@ import Network from './network'; ...@@ -15,5 +14,4 @@ import Network from './network';
commit_id: $(".network-graph").attr('data-commit-id') commit_id: $(".network-graph").attr('data-commit-id')
}); });
return new ShortcutsNetwork(network_graph.branch_graph); return new ShortcutsNetwork(network_graph.branch_graph);
}); });
}).call(window);
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