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

Optimizes defaults for svg.js #5181

Merged
merged 1 commit into from
Aug 15, 2014

Conversation

timvandermeij
Copy link
Contributor

Makes the DOM a bit lighter by not adding attributes with default values.

@@ -19,6 +19,38 @@

'use strict';

var DEFAULTS = {
Copy link
Contributor

Choose a reason for hiding this comment

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

rename to SVG_DEFAULTS

@pramodhkp
Copy link
Contributor

Looks good.

yurydelendik added a commit that referenced this pull request Aug 15, 2014
@yurydelendik yurydelendik merged commit 5eb6a35 into mozilla:master Aug 15, 2014
@yurydelendik
Copy link
Contributor

Thank you for the patch

@timvandermeij timvandermeij deleted the svg-optimizations branch August 15, 2014 19:20
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.

3 participants