-
Notifications
You must be signed in to change notification settings - Fork 782
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HTML Reporter: Optimize toolbar setup by reusing
beginDetails.modules
`config.modules` is an undocumented internal property with lots of other internal state in it. Relying on it here is suboptimal, and creating a copy of it is inefficient. Use `beginDetails.modules` instead which exists precisely for this purpose. It was added by commit 168b048 in QUnit 1.16 and initially used by HTML Reporter. However, commit 43a3d87 in QUnit 2.7 removed its use again and in c494fb8 I removed the unused variables that were left begin there.
- Loading branch information
Showing
1 changed file
with
28 additions
and
33 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