From 0cd5fe35da64b1f83442864e580cac48c8069f71 Mon Sep 17 00:00:00 2001 From: David Rowe <david@ctrlaltstudio.com> Date: Tue, 16 May 2017 15:54:55 +1200 Subject: [PATCH] Lint --- scripts/system/playRecordingAC.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/system/playRecordingAC.js b/scripts/system/playRecordingAC.js index d1b931bc41..98e5220c31 100644 --- a/scripts/system/playRecordingAC.js +++ b/scripts/system/playRecordingAC.js @@ -286,6 +286,7 @@ recordingFilename = "", autoPlayTimer = null, + autoPlay, playRecording; function error(message) { @@ -323,7 +324,7 @@ } } - function autoPlay() { + autoPlay = function () { var recording, AUTOPLAY_SEARCH_DELTA = 1000; @@ -346,7 +347,7 @@ autoPlayTimer = Script.setTimeout(autoPlay, AUTOPLAY_SEARCH_INTERVAL); // Try again soon. } }, Math.random() * AUTOPLAY_SEARCH_DELTA); - } + }; playRecording = function (recording, position, orientation, isManual) { Recording.loadRecording(recording, function (success) {