Skip to content

Conversation

@matthewhively
Copy link

@matthewhively matthewhively commented Dec 16, 2019

Low hanging fruit only
this => self
window => _window
document => _document
Moved a few var declarations to be next to one another

Minified size reduced by 7%

NOTE: While a version field has been added to the javascript file, I did not adjust the version tag. I figure that should be handled by the maintainer.
NOTE: A version number was not added to the CSS file as it has not been modified since the initial commit.

low hanging fruit only
'this' => 'self'
'window' => '_window'
'document' => '_document'
a few var declarations moved to be next to one another

Minified size reduced by 6%
Further squash document references
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