History

Add comment to tutorial.js generateUUID usage

Ryan Huffman committed 10 years ago

Commit 4148abe1 parent 8fe62781 file · +3 −0Browse files

Showing the changes to tutorial/tutorial.js (1 of 1 file). Show all

Unified · Split

tutorial/tutorial.js+3−0
@@ -982,6 +982,9 @@ TutorialManager = function() { · 981 unmodified lines
982982 currentStepNum = -1;
983983 currentStep = null;
984984 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.
985988 tutorialID = Script.generateUUID ? Script.generateUUID() : "";
986989 STEPS = [
987990 new stepStart("start"),

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t