Skip to content

Commit fe91e7e

Browse files
committedApr 10, 2023
Reverting change to method PlotlyViaCDNModule.setPlotlyBundle accept null again
1 parent e93b74f commit fe91e7e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed
 

‎CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Changelog
22

33

4+
## [5.1.0] - 2023-04-10
5+
### Changed
6+
- Updated to Angular 15
7+
48
## [5.0.0] - 2023-03-29
59
### Changed
610
- Updated to Angular 13

‎projects/plotly/src/lib/plotly-via-cdn.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export class PlotlyViaCDNModule {
3333
PlotlyViaCDNModule.plotlyVersion = version;
3434
}
3535

36-
public static setPlotlyBundle(bundle: PlotlyBundleName): void {
36+
public static setPlotlyBundle(bundle: PlotlyBundleName | null): void {
3737
const isOk = bundle === null || PlotlyViaCDNModule.plotlyBundleNames.indexOf(bundle) >= 0;
3838
if (!isOk) {
3939
const names = PlotlyViaCDNModule.plotlyBundleNames.map(n => `"${n}"`).join(', ');

0 commit comments

Comments
 (0)
Please sign in to comment.