Files
polymer/externs
Alexander Marks 6847cf4791 Make Polymer gestures library safe for Closure property renaming (take 2). (#5314)
Make Polymer gestures library safe for Closure property renaming.

The issue here was that we were assuming that the method for a given
gesture would always match the string name of that gesture, e.g. that if
the gesture name was "mousedown" that we could call
gestureDefinition.mousedown. In actuality, gestureDefinition.mousedown
could be renamed by Closure, which would throw with "undefined is not a
function".

The fix is to move the GesturesRecognizer type into our externs, which
prevents those methods from being renamed.
2018-08-02 14:58:07 -07:00
..
2018-07-18 12:06:56 -07:00
2018-07-18 12:06:56 -07:00