Skip to content

Commit 9bfdebc

Browse files
committed
update d3 dependency handling in demo app
1 parent 1dd87a6 commit 9bfdebc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"license": "EPL-1.0",
66
"dependencies": {
77
"axios": "^0.18.0",
8+
"d3": "3.5.17",
89
"jschart": "file:../jschart",
910
"react": "^16.5.1",
1011
"react-dom": "^16.5.1",

tests/src/App.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import React, { Component } from "react";
22
import jschart from "jschart";
3+
import d3 from "d3";
34

45
import histogram_data from './data/histogram.csv';
56
import timeseries_data from './data/timeseries.csv';
@@ -8,8 +9,6 @@ import jitter_data from './data/jitter.csv';
89
import dynamic_data_1 from './data/ts1.csv';
910
import dynamic_data_2 from './data/ts2.csv';
1011

11-
const d3 = require("d3");
12-
1312
var choices = [
1413
{
1514
"label": "Null",

0 commit comments

Comments
 (0)