Skip to content

Conversation

@kndoo
Copy link

@kndoo kndoo commented Nov 4, 2018

excanvas-compressed.js is a compressed version of excanvas.js and both files are loaded by require_tree in vendor/assets/javascripts/html5jp_graphs.js.
They are (re-)compressed by Rails (rake assets:precompile) and therefore two sequences of almost duplicated code are generated.

May I suggest removing excanvas-compressed.js?
I think that excanvas.js would be better because it has readability and maintainabilty and it will be finally compressed by Rails.

Remove excanvas-compressed.js to avoid loading both excanvas.js and
excanvas-compressed.js.
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.

1 participant