Given all that polymer is doing with normalizing the layers, etc - it feels like polymer should include a prollyfill for Promises. Would make several parts of the code easier to grok and manage. In mucking with the patterns in HTML Imports and attempting to shim in something like the parse observers I suggested elsewhere I hit up against how Loader is used and it looks like it is effectively just managing something like promises there... In the existing code you know all link tags up front because you wait until DOMContentLoaded, so that works fine... Shifting this way means that isn't true. With promises, that would be pretty easy to plug in in the right place I think, but it seems there are callback chains in the pattern right now that make this hard.Feels like Promises are an important part of the future platform, let's add it?
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 polymer-dev...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/0944a1eb-bf4e-4b40-a406-43e1aa420dac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
It appears to me that promises are a part of the default Polymer polyfills. I do not know this for a fact, but promises seem to be working just fine straight out of the Polymer Starter Kit.