Skip to content

Commit 82fc3ca

Browse files
committed
fix typo showSource --> showSources
1 parent b1d227d commit 82fc3ca

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

shelly/plotlyjs/static/plotlyjs/src/config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ module.exports = {
4747
// text appearing in the sendData link
4848
linkText: 'Edit chart',
4949

50-
// false or function adding source to linkText <text>
51-
showSource: false,
50+
// false or function adding source(s) to linkText <text>
51+
showSources: false,
5252

5353
// display the modebar (true, false, or 'hover')
5454
displayModeBar: 'hover',

shelly/plotlyjs/static/plotlyjs/src/plotly.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ exports.d3 = require('d3');
7474
// below will be in the streambed plotlyjs only
7575

7676
// override defaultConfig
77-
exports.defaultConfig.showSource = require('./addons/show_sources');
77+
exports.defaultConfig.showSources = require('./addons/show_sources');
7878

7979
// custom styling injected via envify/uglifyify
8080
if(process.env.PLOTLY_CUSTOM_STYLE === "open-office-2015") {

0 commit comments

Comments
 (0)