refactor Network class

This commit is contained in:
Mike Greiling 2017-03-03 18:21:39 -06:00
parent 3474271009
commit b7bf9b41b0
2 changed files with 15 additions and 18 deletions

View file

@ -2,8 +2,7 @@
import BranchGraph from './branch_graph';
(function() {
this.Network = (function() {
export default (function() {
function Network(opts) {
var vph;
$("#filter_ref").click(function() {
@ -18,4 +17,3 @@ import BranchGraph from './branch_graph';
return Network;
})();
}).call(window);

View file

@ -1,8 +1,7 @@
/* 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 */
require('./network');
import Network from './network';
(function() {
$(function() {