Skip to content

Commit

Permalink
Fixed client linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jpellizzari committed Dec 9, 2016
1 parent b5a720e commit 70960cc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions client/app/scripts/utils/data-generator-utils.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { zipObject } from 'lodash';
import _ from 'lodash';
import { scaleLinear } from 'd3-scale';
import { extent } from 'd3-array';


// Inspired by Lee Byron's test data generator.
/*eslint-disable */
function bumpLayer(n, maxValue) {
Expand Down Expand Up @@ -122,7 +121,7 @@ function handleAdd(nodes) {


function handleUpdated(updatedNodes, prevNodes) {
const modifiedNodesIndex = zipObject((updatedNodes || []).map(n => [n.id, n]));
const modifiedNodesIndex = _.zipObject((updatedNodes || []).map(n => [n.id, n]));
return prevNodes.toIndexedSeq().toJS().map(n => (
Object.assign({}, mergeMetrics(n), modifiedNodesIndex[n.id])
));
Expand Down

0 comments on commit 70960cc

Please sign in to comment.