Commit b7bf9b41 authored by Mike Greiling's avatar Mike Greiling

refactor Network class

parent 34742710
...@@ -2,8 +2,7 @@ ...@@ -2,8 +2,7 @@
import BranchGraph from './branch_graph'; import BranchGraph from './branch_graph';
(function() { export default (function() {
this.Network = (function() {
function Network(opts) { function Network(opts) {
var vph; var vph;
$("#filter_ref").click(function() { $("#filter_ref").click(function() {
...@@ -17,5 +16,4 @@ import BranchGraph from './branch_graph'; ...@@ -17,5 +16,4 @@ import BranchGraph from './branch_graph';
} }
return Network; return Network;
})(); })();
}).call(window);
/* eslint-disable func-names, space-before-function-paren, prefer-arrow-callback, quotes, no-var, vars-on-top, camelcase, comma-dangle, consistent-return, max-len */ /* eslint-disable func-names, space-before-function-paren, prefer-arrow-callback, quotes, no-var, vars-on-top, camelcase, comma-dangle, consistent-return, max-len */
/* global Network */
/* global ShortcutsNetwork */ /* global ShortcutsNetwork */
require('./network'); import Network from './network';
(function() { (function() {
$(function() { $(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