Skip to content

Commit 8f26e3c

Browse files
committed
Removed lambda for IE11 compatibility
1 parent 26baf86 commit 8f26e3c

File tree

7 files changed

+12
-7
lines changed

7 files changed

+12
-7
lines changed

CHANGELOG_ION.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# plotly.js ION changelog
22

3+
## [1.33.1-ion42] -- 2020-08-04
4+
5+
### Removed lambda for IE11 support
6+
7+
38
## [1.33.1-ion39] -- 2020-06-04
49

510
### Support to sort series in legend naturally. (alphabetical reverted)

dist_ion/plotly-ion.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25773,7 +25773,7 @@ module.exports = function getLegendData(calcdata, opts) {
2577325773
opts._lgroupsLength = lgroupsLength;
2577425774

2577525775
if (opts.traceorder === "natural") {
25776-
legendData[0].sort((a, b) => {
25776+
legendData[0].sort(function(a, b) {
2577725777
if (a[0] && a[0].label) {
2577825778
return a[0].label.localeCompare(b[0].label, undefined, {numeric: true});
2577925779
} else {
@@ -32823,7 +32823,7 @@ exports.svgAttrs = {
3282332823
var Plotly = require('./plotly');
3282432824

3282532825
// package version injected by `npm run preprocess`
32826-
exports.version = '1.33.1-ion41';
32826+
exports.version = '1.33.1-ion42';
3282732827

3282832828
// inject promise polyfill
3282932829
require('es6-promise').polyfill();

dist_ion/plotly-ion.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "plotly.js",
3-
"version": "1.33.1-ion41",
3+
"version": "1.33.1-ion42",
44
"description": "The open source javascript graphing library that powers plotly",
55
"license": "MIT",
66
"main": "./lib/index.js",

src/assets/geo_assets.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ var saneTopojson = require('sane-topojson');
1212

1313

1414
// package version injected by `npm run preprocess`
15-
exports.version = '1.33.1-ion41';exports.topojson = saneTopojson;
15+
exports.version = '1.33.1-ion42';exports.topojson = saneTopojson;

src/components/legend/get_legend_data.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ module.exports = function getLegendData(calcdata, opts) {
9999
opts._lgroupsLength = lgroupsLength;
100100

101101
if (opts.traceorder === "natural") {
102-
legendData[0].sort((a, b) => {
102+
legendData[0].sort(function(a, b) {
103103
if (a[0] && a[0].label) {
104104
return a[0].label.localeCompare(b[0].label, undefined, {numeric: true});
105105
} else {

src/core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
var Plotly = require('./plotly');
1616

1717
// package version injected by `npm run preprocess`
18-
exports.version = '1.33.1-ion41';
18+
exports.version = '1.33.1-ion42';
1919

2020
// inject promise polyfill
2121
require('es6-promise').polyfill();

0 commit comments

Comments
 (0)