Skip to content

Commit

Permalink
Merge pull request #55 from dmitrylyzo/strict-fix
Browse files Browse the repository at this point in the history
Minor fixes
  • Loading branch information
dmitrylyzo committed Mar 22, 2024
2 parents cd33894 + 70d2c36 commit f373e10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/post-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ self.oneshotRender = function (lastRenderedTime, renderNow, iteration) {
var eventFinish = -1.0, emptyFinish = -1.0, animated = false;
var rendered = {};
if (eventStart >= 0) {
eventTimes = self.octObj.findEventStopTimes(eventStart);
var eventTimes = self.octObj.findEventStopTimes(eventStart);
eventFinish = eventTimes.eventFinish;
emptyFinish = eventTimes.emptyFinish;
animated = eventTimes.is_animated;
Expand Down
2 changes: 1 addition & 1 deletion src/subtitles-octopus.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ var SubtitlesOctopus = function (options) {
try {
if (typeof WebAssembly === "object"
&& typeof WebAssembly.instantiate === "function") {
const module = new WebAssembly.Module(Uint8Array.of(0x0, 0x61, 0x73, 0x6d, 0x01, 0x00, 0x00, 0x00));
var module = new WebAssembly.Module(Uint8Array.of(0x0, 0x61, 0x73, 0x6d, 0x01, 0x00, 0x00, 0x00));
if (module instanceof WebAssembly.Module)
supportsWebAssembly = (new WebAssembly.Instance(module) instanceof WebAssembly.Instance);
}
Expand Down

0 comments on commit f373e10

Please sign in to comment.