Skip to content

Commit

Permalink
Fix nvd3-based charts, babel config is redundant and problematic here,
Browse files Browse the repository at this point in the history
correct imports.
  • Loading branch information
dannon committed Jun 5, 2024
1 parent 658ebc2 commit 471d2a0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions config/plugins/visualizations/nvd3/nvd3_bar/.babelrc

This file was deleted.

1 change: 0 additions & 1 deletion config/plugins/visualizations/nvd3/nvd3_bar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"license": "AFL-3.0",
"dependencies": {
"@galaxyproject/charts": "^0.1.0",
"babel-preset-env": "^1.6.1",
"backbone": "^1.3.3",
"bootstrap": "^3.3.7",
"d3": "^3.4.5",
Expand Down
3 changes: 2 additions & 1 deletion config/plugins/visualizations/nvd3/nvd3_bar/src/nvd3.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/** This is the common wrapper for nvd3 based visualizations. */
import * as d3 from "d3";
import * as nv from "nvd3";
import * as Backbone from "backbone";
import * as _ from "underscore";

import "nvd3";

// TODO Disentangle jquery in the future
/* global $ */

Expand Down

0 comments on commit 471d2a0

Please sign in to comment.