Showing the changes to tutorial/tutorial.js (1 of 1 file). Show all
Unified · Split
| @@ -982,6 +982,9 @@ TutorialManager = function() { · 981 unmodified lines | |||
| 982 | currentStepNum = -1; | 982 | currentStepNum = -1; |
| 983 | currentStep = null; | 983 | currentStep = null; |
| 984 | startedTutorialAt = Date.now(); | 984 | startedTutorialAt = Date.now(); |
| 985 | |||
| 986 | // Old versions of interface do not have the Script.generateUUID function. | ||
| 987 | // If Script.generateUUID is not available, default to an empty string. | ||
| 985 | tutorialID = Script.generateUUID ? Script.generateUUID() : ""; | 988 | tutorialID = Script.generateUUID ? Script.generateUUID() : ""; |
| 986 | STEPS = [ | 989 | STEPS = [ |
| 987 | new stepStart("start"), | 990 | new stepStart("start"), |