We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1c4cc3 commit 8d902aaCopy full SHA for 8d902aa
README.md
@@ -97,7 +97,7 @@ var Plotly = require('./path/to/custom-plotly');
97
```
98
99
Alternatively you could browserify a custom bundle of desired trace modules e.g. `pie` and `choropleth` using
100
-`npm run partial-bundle pie choropleth name=custom`
+`npm run partial-bundle pie choropleth --name=custom`
101
102
103
## Building plotly.js
tasks/partial_bundle.js
@@ -26,7 +26,7 @@ if(argv.length > 2) {
26
) {
27
traceList.push(a);
28
}
29
- if(a.indexOf('name=') !== -1) name = a.replace('name=', '');
+ if(a.indexOf('--name=') === 0) name = a.replace('--name=', '');
30
31
if(!name) name = 'custom';
32
traceList = traceList.sort();
0 commit comments