Skip to content

Commit 0a58e84

Browse files
authored
Merge pull request #506 from tableau/fix-samples
fix a few samples that require react
2 parents 534912e + 6bd5cdb commit 0a58e84

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

Samples/DashboardObjectVisibility/dashboardObjectVisibility.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
'use strict';
2-
let React;
3-
let ReactDOM;
2+
/* eslint-disable */
3+
var React;
4+
var ReactDOM;
5+
/* eslint-enable */
46

57
// Wrap everything in an anonymous function to avoid polluting the global namespace
68
(async () => {

Samples/MoveAndResize/moveAndResize.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
'use strict';
2-
let React;
3-
let ReactDOM;
2+
/* eslint-disable */
3+
var React;
4+
var ReactDOM;
5+
/* eslint-enable */
46

57
// Wrap everything in an anonymous function to avoid polluting the global namespace
68
(async () => {

Samples/ReplayAnimation/replayAnimation.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
'use strict';
2-
let React;
3-
let ReactDOM;
2+
/* eslint-disable */
3+
var React;
4+
var ReactDOM;
5+
/* eslint-enable */
46

57
(async () => {
68
// Calls replayAnimationSync to toggle dashboard animation speed (0.5x, 1.0x, 2.0x) using ReplaySpeedType

0 commit comments

Comments
 (0)