-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(tutorials.js): simplify handleEditorChanges() function
This change moves the changeListener for the ACE editor from the handle EditorChanges() function to the loadTutorialStep() function. Thus it avoids the necessity to stop change propagation and recursive call. It also removes some unnecessary parameters from handleEditorChanges() as well as it simplifies the mechanism to disallow/allow download and/or continuation with next step.
- Loading branch information
1 parent
244caf9
commit 1715a0f
Showing
1 changed file
with
94 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters