Skip to content
This repository was archived by the owner on Feb 19, 2025. It is now read-only.

Commit e401149

Browse files
committed
cleanup
1 parent 16b0d19 commit e401149

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

samples/redaction/index.html

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,6 @@
1414
margin: 0px
1515
}
1616
</style>
17-
<script>
18-
console.log('hello world');
19-
console.log(window.WebViewer);
20-
// console.log(window.WebViewerVideo.initializeVideoViewer);
21-
console.log(window.WebViewerAudio.Waveform);
22-
</script>
2317
</head>
2418
<body>
2519
<div id="viewer"></div>

src/App.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const App = () => {
2020
WebViewer(
2121
{
2222
path: '/webviewer/lib',
23-
enableRedaction: process.env.DEMO || true ? true : false,
23+
enableRedaction: process.env.DEMO ? true : false,
2424
},
2525
viewer.current,
2626
).then(async instance => {
@@ -39,7 +39,7 @@ const App = () => {
3939
AudioComponent: Waveform,
4040
isDemoMode: process.env.DEMO,
4141
generatedPeaks: !process.env.DEMO ? null : demoPeaks, // waves can be pre-generated as seen here for fast loading: https://github.com/bbc/audiowaveform
42-
enableRedaction: process.env.DEMO|| true ? true : false,
42+
enableRedaction: process.env.DEMO ? true : false,
4343
}
4444
);
4545

0 commit comments

Comments
 (0)