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

Kill code #280

Merged
merged 7 commits into from
Oct 18, 2013
Merged

Kill code #280

merged 7 commits into from
Oct 18, 2013

Conversation

danvk
Copy link
Owner

@danvk danvk commented Oct 15, 2013

This should look familiar -- it's a simplified version of my old "shrink" pull request (#263).

This pull request does the following:

  • Simplifies & standardizes a few methods (warn/error, findPos).
  • Removes the weak dependencies on RGBColor and strftime libraries.
  • Removes stacktrace.js from the minified library.
  • Moves custom circles into extras.

This shrinks the minified code size from 141427 --> 126509 bytes (10%). It will also simplify some later closure changes.

What this doesn't include from the older pull request is the mass removal of exported symbols. That's better handled by an "exports" file in closure-land.

a.href = url;
return li;
}
if (this.tc == null) {
description.innerHTML = 'Test cases:';
description.textContent = 'Test cases:';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow thanks for catching all these. No reply required.

@kberg
Copy link
Collaborator

kberg commented Oct 16, 2013

I don't have to do another pass unless you ask. Removing those third-party packages is a good effort.

@danvk
Copy link
Owner Author

danvk commented Oct 18, 2013

Addressed all comments & merging.

danvk added a commit that referenced this pull request Oct 18, 2013
@danvk danvk merged commit ee60939 into master Oct 18, 2013
@mirabilos mirabilos deleted the kill-code branch January 13, 2023 20:18
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.

2 participants