dmn-elex-texas-choropleth
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "dmn-elex-texas-choropleth", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "State choropleth module for DMN elections project.", | ||
@@ -35,3 +35,6 @@ "main": "src/js/chart.js", | ||
"underscore": "^1.8.3" | ||
}, | ||
"browserify": { | ||
"transform": [["babelify", { "presets": ["es2015"] }]] | ||
} | ||
} |
@@ -10,2 +10,6 @@ # dmn-elex-texas-choropleth | ||
##### Requirements | ||
This module uses ES6 syntax. To use as a pre-compiled module, you'll need a compiler like [babel](https://babeljs.io/). | ||
### Use | ||
@@ -12,0 +16,0 @@ |
@@ -41,2 +41,3 @@ import * as d3 from "d3"; | ||
// Check if we've already appended our SVG. | ||
var g = d3.select(this).select('svg').select('g').size() === 0 ? | ||
@@ -43,0 +44,0 @@ d3.select(this).append("svg") |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
39008
50
2848931