Skip to content

Commit

Permalink
Merge pull request #506 from tableau/fix-samples
Browse files Browse the repository at this point in the history
fix a few samples that require react
  • Loading branch information
johnDance authored Jul 12, 2022
2 parents 534912e + 6bd5cdb commit 0a58e84
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
'use strict';
let React;
let ReactDOM;
/* eslint-disable */
var React;
var ReactDOM;
/* eslint-enable */

// Wrap everything in an anonymous function to avoid polluting the global namespace
(async () => {
Expand Down
6 changes: 4 additions & 2 deletions Samples/MoveAndResize/moveAndResize.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
'use strict';
let React;
let ReactDOM;
/* eslint-disable */
var React;
var ReactDOM;
/* eslint-enable */

// Wrap everything in an anonymous function to avoid polluting the global namespace
(async () => {
Expand Down
6 changes: 4 additions & 2 deletions Samples/ReplayAnimation/replayAnimation.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
'use strict';
let React;
let ReactDOM;
/* eslint-disable */
var React;
var ReactDOM;
/* eslint-enable */

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

0 comments on commit 0a58e84

Please sign in to comment.