Scott, don't you have a new HTML import + JS module loader POC or brain dump somewhere? Am I making that up? On Feb 25, 2014 4:21 PM, "Gabriel Gartz" <[email protected]> wrote:
> I like the idea of using requirejs and polymer project together, some > points: > > * Requirejs system migration: you just can't re-develop everything to work > with only polymer from one day to another. > * Using logical libs for a custom element: Some custom elements can be > very complex, using the require js allow you to easier coding with > namespace and modules dependence. > > Other points, it's possible to create a Custom Element to trigger and > manipulate requirejs, but you need to load polymer project before the > requirejs. > And finally the problem with requirejs loading before polymer project it's > in the way that requirejs create and use script elements to append on the > head from the DOM, where the ShadowDOM from Polymer decorate the elements > and if isn't decorated it throw a assert exception, so if require is loaded > before to load polymer it wont work. > > Em quinta-feira, 25 de julho de 2013 09h26min45s UTC-3, Joern Turner > escreveu: >> >> sorry, if that's a recurring question having answered elsewhere already. >> After searching the discussions i only found some remarks on that but no >> defnitive answer. >> >> We're also very interested to load polymer with requirejs or at least use >> them in conjunction. Anybody found a solution to that? Any pragmatic >> approach would be welcome. >> >> Second: after reading for a while i haven't found answers to the >> questions what polymer does to the global objects (window, document ...) >> and how/if it changes the javascript language. >> >> Thanks, >> >> Joern >> > 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/ca2cc747-8c1e-476e-8f9d-774f622a9ebb%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > 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/CACGqRCB-5zwULLz%2Bsw6oOnMuKahXuAc4%3DSPXgRREiqh3fDHUdg%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
