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

Switch to String constants #2830

Merged
merged 3 commits into from Jun 13, 2020
Merged

Switch to String constants #2830

merged 3 commits into from Jun 13, 2020

Conversation

XhmikosR
Copy link
Contributor

@XhmikosR XhmikosR commented Jun 11, 2020

Should result in better compression (aprox. -10% from the compressed adminlte.min.js) and should be easier to see unused/undefined variables on lint stage.

Draft because

  1. I found an error; lint fails now (also, not sure about the ready usage there)
  2. I think I found another spot with unneeded code (added TODO comment also)
  3. Need to finish with the other open PRs

@REJack please check the TODO and let me know how to proceed in each case.

Fixes #2704

@XhmikosR XhmikosR marked this pull request as ready for review June 12, 2020 19:09
Should result in better compression (aprox. -10% from the compressed adminlte.min.js) and should be easier to see unused/undefined variables on lint stage.
@REJack REJack merged commit fffb131 into ColorlibHQ:master Jun 13, 2020
@XhmikosR XhmikosR deleted the js-string-constants branch June 13, 2020 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] switch to string constants in JS
2 participants