-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use package name for node & umd requires
this breaks requireJS but fixes webpack - since the community fork of crossfilter has a different package name from its filename, one or the other packaging system is going to be unhappy. requireJS users will need to rename crossfilter.js to crossfilter2.js when copying it into position, or use the requireJS paths or map configuration options to specify that the filename is different from the module name. http://requirejs.org/docs/api.html#config-paths http://requirejs.org/docs/api.html#config-map fixes #1213 fixes #1214 fixes #1261 fixes #1293 fixes #1302 breaks #1304!
- Loading branch information
1 parent
8a0dd42
commit 8da6ebb
Showing
4 changed files
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// Import DC and dependencies | ||
|
||
d3 = require("d3"); | ||
crossfilter = require("crossfilter"); | ||
crossfilter = require("crossfilter2"); | ||
module.exports = require("./dc"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters