We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6c393b commit 013e778Copy full SHA for 013e778
README.md
@@ -55,15 +55,15 @@ If you would like to reduce the bundle size of plotly.js, you can create a *cust
55
56
```javascript
57
// in custom-plotly.js
58
-var plotlyCore = require('plotly.js/lib/core');
+var Plotly = require('plotly.js/lib/core');
59
60
// Load in the trace types for pie, and choropleth
61
-plotlyCore.register([
+Plotly.register([
62
require('plotly.js/lib/pie'),
63
require('plotly.js/lib/choropleth')
64
]);
65
66
-module.exports = plotlyCore;
+module.exports = Plotly;
67
```
68
69
Then elsewhere in your code:
0 commit comments