googlearchive / polyup

A helpful assistant for migrating from Polymer v0.5 to 1.0. Does many of the boring mechanical parts for you.
http://polymerlabs.github.io/polyup/
BSD 3-Clause "New" or "Revised" License
38 stars 9 forks source link

Trim event handler names #113

Open bergie opened 7 years ago

bergie commented 7 years ago

Looks like event handlers need a bit of love after polyup: on-click=" someMethod " needs to be changed to on-click="someMethod" (spaces removed). It would be nice if polyup trimmed them automatically.

Workaround is to change them from on-click="{{ someMethod }}" to on-click="{{someMethod}}" before conversion