Skip to content

Commit

Permalink
fix implicit creation of global property (in strict mode)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrylyzo committed Jan 10, 2023
1 parent 8d9dac4 commit 3252587
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/post-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,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

0 comments on commit 3252587

Please sign in to comment.