google / google/closure-compiler

Smart name removal deletes essential code from web animations next polyfill

Open
#1,172 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7.7k
Forks
1.2k
Avg merge
2d 12h
Merged PRs (30d)
6

Description

The smart name removal pass removes an IIFE in the web-animations-next polyfill which has the side effect of polyfilling Element.prototype.animate in this [non-minified code snippet](https://github.com/web-animations/web-animations-js/blob/8a3bb632f39f8b5072c77a502eb43e880b08d94c/src/element-animatable.js#L16). This was seen when compiling the minified library which lives [here](https://github.com/web-animations/web-animations-js/blob/master/web-animations-next.min.js).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.