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

Web animations is not loaded by Polymer #140

Closed
jonrimmer opened this issue May 18, 2013 · 2 comments
Closed

Web animations is not loaded by Polymer #140

jonrimmer opened this issue May 18, 2013 · 2 comments

Comments

@jonrimmer
Copy link

Web animations is listed as a foundation technology in Polymer, but it is not loaded when polymer.js is loaded.

If web animations is a foundational part of Polymer, then it should be loaded alongside Imports, Custom Elements, MDV, etc. Otherwise, it should be not be listed as part of the platform. The current situation is simply confusing for new users.

@sjmiles
Copy link
Contributor

sjmiles commented May 20, 2013

I agree that this situation is confusing, thanks for making an issue.

The only reason this isn't a no-brainer is that no part of polymer itself depends on Web Animations, which makes it stand apart from the other polyfills.

I want to do a little analysis about the impact on the load size and whether it's worth having a flag to make it opt-out.

However, I expect the answer will be just to include it. We will update this ticket when we make a move.

@sorvell
Copy link
Contributor

sorvell commented Jun 13, 2013

Due to the size of the polyfill we've opted not to include web-animations in the platform build for now.

We've included an html import document in the polymer-elements repo that makes it easy to include the polyfill (https://github.com/Polymer/polymer-elements/blob/master/polymer-animation/web-animations.html).

@sorvell sorvell closed this as completed Jun 13, 2013
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

No branches or pull requests

3 participants