On 19 October 2017 at 12:44, Jose Carlos Vílchez <[email protected]> wrote:
> Hi, im trying to develop multiple bundled components in Polymer (each one > with all dependencies) in the same HTML page. The idea is that each > component can be a standalone, is this possible? > Can i have my Component1 and my Component2 depending on distinct versions > of "iron-ajax" (in example) in the same page? > When i do this, i receive an error in console that says "You are trying to > register a duplicate tag", both components works but the second one is > using the registered "iron-ajax" by the first one. > > Note: iron-ajax is only an example, but can be a own custom element > instead. > It's not currently possible to have multiple versions of the same element. This is a limitation of the way that web browsers treat JavaScript. -- Daniel Llewellyn Bowl Hat 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/CABtuYwehgC5KpXpp%3DoSA7jMW-3R25z%3DAiRw8LDSsqxmjUSK%2BJg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
