You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 19, 2017. It is now read-only.
Create a project with a Polymer dependency with version ">=0.12.0" and paper_elements (I believe any JavaScript Polymer element will do)
Create an element like the attached file
Add it to an index file
Run pub build
Open the file and see that it does not work.
What is the expected output? What do you see instead?
I would expect to see the Polymer element correctly displayed.
Instead, the element is not displayed and I see an exception: Uncaught TypeError: Cannot read property 'element' of undefined on line 446 of isolate_helper.dart.
Thanks for the bug report. We recently submitted a fix for this bug, but the fix is part of the SDK, so it wont be available until we release 1.6.0-dev.7.0 (which I expect will be by tomorrow if all goes well). I think Jake wasn't able to repro because he has a pre-release version of 1.6.0-dev.7.0 locally.
The issue was a bug in how the "dart:js" was being compiled by dart2js (issue dart-lang/sdk#20305). If you need to get past this issue before the new SDK is released, there is a longer discussion and some workarounds described in issue #254.
Originally opened as dart-lang/sdk#20336
This issue was originally filed by [email protected]
What steps will reproduce the problem?
What is the expected output? What do you see instead?
I would expect to see the Polymer element correctly displayed.
Instead, the element is not displayed and I see an exception:
Uncaught TypeError: Cannot read property 'element' of undefined
on line 446 ofisolate_helper.dart
.Please include the following information:
Anything else?
It works with a Polymer dependency of ">=0.11.0 <0.12.0".
If you do not add a script to the element, the element will be displayed.
Attachments:
my-element.html (629 Bytes)
index.html (553 Bytes)
pubspec.yaml (177 Bytes)
The text was updated successfully, but these errors were encountered: