Skip to content

Switch to String constants#2830

Merged
REJack merged 3 commits intoColorlibHQ:masterfrom
XhmikosR:js-string-constants
Jun 13, 2020
Merged

Switch to String constants#2830
REJack merged 3 commits intoColorlibHQ:masterfrom
XhmikosR:js-string-constants

Conversation

@XhmikosR
Copy link
Copy Markdown
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
XhmikosR added 3 commits June 13, 2020 10:23
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