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

polyup generates invalid code when there are multiple complex expressions assigned to the same attribute name #30

Closed rictic closed 9 years ago

rictic commented 9 years ago
<div title='{{1 + 1}}'></div>
<div title='{{2 + 2}}'></div>

Becomes

<div title='{{computeTitle()}}'></div>
<div title='{{computeTitle()}}'></div>

With multiple competing definitions for computeTitle. Need to generate unique names for each computed function.