Wait! Did this just get fixed?!?

It looks like Polymer's now giving extracted scripts meaningful, persistent 
names, like "my-element.html" instead of "1234.js". This means we can now 
set useful breakpoints that persist across page reloads.

Waahoo! I didn't see that change mentioned in release notes, but just 
wanted to say thanks to whoever fixed that.

On Friday, October 18, 2013 2:01:46 PM UTC-7, Jan Miksovsky wrote:
>
> I notice that the sourceURL for JavaScript which Polymer extracts from 
> element <script> tags have a generated name like "1234.js", while those of 
> Polymer's own elements (e.g., polymer-collapse.html) get a friendly, 
> matching name like polymer-collapse.js. A key advantage of the latter is 
> that the name is stable across reloads, allowing one to set breakpoints 
> that don't disappear when you need to reload updated source.
>
> Where's the magic that produces these stable .js names? Can it be applied 
> to elements other than Polymer's own?
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/336e3244-b2ae-4513-becc-e5743fd53873%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to