-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stopped code from running redundantly
The slice of code for the multiple choice function that builds a list of unique answers in the getPossibleAnswers method, used to run every time the method was called, which was unnecessary since the result would always be the same every time. Now, it will only run the first time the method is called after a change to the contents of the question bank.
- Loading branch information
1 parent
a68da65
commit b0ac8aa
Showing
1 changed file
with
11 additions
and
5 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