aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-07-17 12:51:22 -0400
committerbob <bcz@cs.brown.edu>2019-07-17 12:51:22 -0400
commit2f9aadfce9a1d8c26457bc56b1b095ae625be77b (patch)
treee85805bca833b8059337a905717f4dede19778b1
parent0620688e08a771b0b5b8e00bdf606e3d17c801a5 (diff)
remove testing code.
-rw-r--r--src/client/views/nodes/ImageBox.tsx28
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