-
Notifications
You must be signed in to change notification settings - Fork 1.7k
generated JavaScript for polymer elements dosn't call xxxChanged for published attributes #15080
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Added Area-Polymer, Triaged labels. |
This comment was originally written by @zoechi When I add
Dart VM version: 1.0.1.3_r30657 (Mon Nov 25 18:29:39 2013) on "linux_x64" |
Added Library-PolymerBuild label. |
This comment was originally written by @zoechi I think this is related to 18489 |
Added this to the 1.5 milestone. |
Added Pkg-Polymer label. |
Removed Pkg-Polymer label. |
Removed Library-PolymerBuild label. |
Removed Area-Polymer label. |
This comment was originally written by @zoechi I still had this a while ago (when I added the comment at May 3) but this seems not to be an issue on all projects. Maybe this is only when the project has Polymer elements in lib and also uses elements imported from another package. I didn't have this in other projects and this is the only notable distinction. |
Removed Priority-Unassigned label. |
Removed this from the 1.6 milestone. |
Removed Polymer-P-1 label. |
Added PolymerMilestone-Next label. |
Removed Polymer-Milestone-Next label. |
This issue has been moved to dart-archive/polymer-dart#369. |
This issue was originally filed by @zoechi
What steps will reproduce the problem?
1.
We run into this problem
https://code.google.com/p/dart/issues/detail?id=15038
when porting
which have a demo page for each polymer element in the 'example' directory.
So we changed the package layout as suggested:
We created a new package and symlinked the demo pages from example
to the new packages web directory
removed the transformers settings in polymer_elements/polymer_ui_elements
and added them to the pubspec.yaml of the new package.
2.
pub build works fine
But in all JS demo pages the xxxChanged methods for published attributes never get called (except when called from other methods directly)
Methods like enteredView or ready are called though.
3.
No warning or error is shown (build/execution)
What is the expected output? What do you see instead?
Should work in JS as in Dart
What version of the product are you using? On what operating system?
Dart VM version: 1.0.0.3_r30187 (Tue Nov 12 00:09:52 2013) on "linux_x64"
Please provide any additional information below.
Before we changed the package structure as described above some examples worked fine in JS (those that were not affected by the issue linked above)
I also tried copying the files to the new package instead of symlinking but the problem persisted.
The text was updated successfully, but these errors were encountered: