File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 1010'use strict' ;
1111
1212var countryRegex = require ( 'country-regex' ) ;
13- var locationUtils = module . exports = { } ;
13+ var Lib = require ( './' ) ;
1414
15- var Plotly = require ( '../plotly' ) ;
1615
1716// make list of all country iso3 ids from at runtime
1817var countryIds = Object . keys ( countryRegex ) ;
1918
2019var locationmodeToIdFinder = {
21- 'ISO-3' : Plotly . Lib . identity ,
22- 'USA-states' : Plotly . Lib . identity ,
20+ 'ISO-3' : Lib . identity ,
21+ 'USA-states' : Lib . identity ,
2322 'country names' : countryNameToISO3
2423} ;
2524
26- locationUtils . locationToFeature = function ( locationmode , location , features ) {
25+ exports . locationToFeature = function ( locationmode , location , features ) {
2726 var locationId = getLocationId ( locationmode , location ) ;
2827 var feature ;
2928
You can’t perform that action at this time.
0 commit comments