-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
More consistent geo maps configs #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
cebfb46
attach geo zoom reset handler to 'dblclick.zoom' (not 'zoom'):
etpinard 8cf43fd
Merge branch 'reorg-src' into fix-d3-geo-dblclick
etpinard 2d34efe
add 'topojsonURL' plot config option
etpinard 524b6dd
replace PLOTLYENV topojson url setting with 'topojsonURL' config opt
etpinard 8b9a609
rm hard topojson assets:
etpinard 40c7549
add preprocess step to copy topojson assets to dist/
etpinard 9afb014
grab topojson from PlotlyGeoAssets.topojson
etpinard 55b9336
use local topojson from dist/ in test dahsboard
etpinard 65a64c4
rename pathToTopojsonDest constant -> pathToTopojsonDist
etpinard 584f611
Merge branch 'master' into fix-d3-geo-dblclick
etpinard dc28064
lint
etpinard bf971d6
Revert "rm check for Plotly.Queue:"
etpinard a580000
expose Queue as part of the 'unofficial' api
etpinard c14040b
rename graph_obj_test -> plot_api_test
etpinard 6d6ba54
make watchified bundle step output plotly.js in build/:
etpinard 050e53b
new dist
etpinard File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
---|---|---|
|
@@ -3,7 +3,4 @@ node_modules | |
build/* | ||
!build/README.md | ||
|
||
dist/* | ||
!dist/README.md | ||
|
||
npm-debug.log |
This file contains hidden or 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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
src/assets/topojson/south-america_50m.json → dist/topojson/south-america_50m.json
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes.
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
This file contains hidden or 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 hidden or 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,17 +1,3 @@ | ||
exports.topojsons = {}; | ||
var saneTopojson = require('sane-topojson'); | ||
|
||
exports.topojsons['world_110m'] = require('./topojson/world_110m.json'); | ||
exports.topojsons['africa_110m'] = require('./topojson/africa_110m.json'); | ||
exports.topojsons['asia_110m'] = require('./topojson/asia_110m.json'); | ||
exports.topojsons['europe_110m'] = require('./topojson/europe_110m.json'); | ||
exports.topojsons['north-america_110m'] = require('./topojson/north-america_110m.json'); | ||
exports.topojsons['south-america_110m'] = require('./topojson/south-america_110m.json'); | ||
exports.topojsons['usa_110m'] = require('./topojson/usa_110m'); | ||
|
||
exports.topojsons['world_50m'] = require('./topojson/world_50m.json'); | ||
exports.topojsons['africa_50m'] = require('./topojson/africa_50m.json'); | ||
exports.topojsons['asia_50m'] = require('./topojson/asia_50m.json'); | ||
exports.topojsons['europe_50m'] = require('./topojson/europe_50m.json'); | ||
exports.topojsons['north-america_50m'] = require('./topojson/north-america_50m.json'); | ||
exports.topojsons['south-america_50m'] = require('./topojson/south-america_50m.json'); | ||
exports.topojsons['usa_50m'] = require('./topojson/usa_50m.json'); | ||
exports.topojson = saneTopojson; |
This file contains hidden or 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 hidden or 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 hidden or 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,7 @@ | ||
'use strict'; | ||
|
||
/* global $:false */ | ||
|
||
var EventEmitter = require('events').EventEmitter; | ||
|
||
var Events = { | ||
|
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,3 +1,5 @@ | ||
// jshint ignore: start | ||
|
||
var Plotly = require('../../plotly'); | ||
var d3 = require('d3'); | ||
|
||
|
This file contains hidden or 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,3 +1,5 @@ | ||
// jshint ignore: start | ||
|
||
'use strict'; | ||
|
||
//Modified from https://github.com/ArthurClemens/Javascript-Undo-Manager | ||
|
This file contains hidden or 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 hidden or 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,3 +1,5 @@ | ||
'use strict'; | ||
|
||
var barAttrs = require('../bars/attributes'); | ||
|
||
|
||
|
This file contains hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI @chriddyp