I've two polymer elements that share the same dart file. In the dart file I declare both the PolymerElement classes.
Until polymer 0.15.0+1 it was working fine. I've updated the project to polymer 0.15.1 and now I get this exception:
Exception: Already registered (Polymer) prototype for element x
Where x is the first polymer.
I think the polymer transformer is trying to register it two times, the first scanning the x polymer html file, the second when scanning the other element html file.
An issue has been open in dart: https://code.google.com/p/dart/issues/detail?id=21332
I don't know about Dart and whatnot, but I had the same error message in my console. Turns out I was still having the noscript
attribute in my element declaration, which is wrong if you want to register your element manually.
Removing noscript
from the element declaration solved the problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With