Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only load JS files where needed #2476

Merged
merged 5 commits into from
Nov 24, 2021
Merged

Only load JS files where needed #2476

merged 5 commits into from
Nov 24, 2021

Conversation

felipeelia
Copy link
Member

Description of the Change

This PR divides the admin.min.js file into two new ones: weighting.min.js and notice.min.js, so the plugin can load them separately only when needed.

Applicable Issues

Closes #2456

Changelog Entry

Changed: The admin.min.js file was split in notice.min.js and weighting.min.js, being loaded accordingly. Props @felipeelia and @barryceelen

Also alphabetically organize js and css files in package.json
The 'highlighting' screen doesn't exist anymore, so references to it were removed
@felipeelia felipeelia merged commit 06212bc into develop Nov 24, 2021
@felipeelia felipeelia deleted the feature/issue-2456 branch November 24, 2021 12:21
felipeelia added a commit that referenced this pull request Nov 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Only load admin-script.min.js where needed
2 participants