diff options
author | bob <bcz@cs.brown.edu> | 2019-07-17 12:51:22 -0400 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-07-17 12:51:22 -0400 |
commit | 2f9aadfce9a1d8c26457bc56b1b095ae625be77b (patch) | |
tree | e85805bca833b8059337a905717f4dede19778b1 | |
parent | 0620688e08a771b0b5b8e00bdf606e3d17c801a5 (diff) |
remove testing code.
-rw-r--r-- | src/client/views/nodes/ImageBox.tsx | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/client/views/nodes/ImageBox.tsx b/src/client/views/nodes/ImageBox.tsx index 7c29724a2..a3e098fd8 100644 --- a/src/client/views/nodes/ImageBox.tsx +++ b/src/client/views/nodes/ImageBox.tsx @@ -295,20 +295,20 @@ export class ImageBox extends DocComponent<FieldViewProps, ImageDocument>(ImageD })); this._audioState = 1; } - else { - if (this._audioState === 0) { - this._audioState = 1; - new Howl({ - src: ["https://www.kozco.com/tech/piano2-CoolEdit.mp3"], - autoplay: true, - loop: false, - volume: 0.5, - onend: function () { - runInAction(() => self._audioState = 0); - } - }); - } - } + // else { + // if (this._audioState === 0) { + // this._audioState = 1; + // new Howl({ + // src: ["https://www.kozco.com/tech/piano2-CoolEdit.mp3"], + // autoplay: true, + // loop: false, + // volume: 0.5, + // onend: function () { + // runInAction(() => self._audioState = 0); + // } + // }); + // } + // } } @action |