Skip to content
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

inheritance of Polymer Element: dart2js issue #18163

Closed
DartBot opened this issue Apr 11, 2014 · 6 comments
Closed

inheritance of Polymer Element: dart2js issue #18163

DartBot opened this issue Apr 11, 2014 · 6 comments
Labels
area-pkg Used for miscellaneous pkg/ packages not associated with specific area- teams. closed-obsolete Closed as the reported issue is no longer relevant

Comments

@DartBot
Copy link

DartBot commented Apr 11, 2014

This issue was originally filed by Roman.Korneyev@gmail.com


What steps will reproduce the problem?

  1. Build to js the following code:
    import 'package:polymer/polymer.dart';

/**
 * A Polymer click counter element.
 */
class ClickCounterBase extends PolymerElement {
  @­published int count = 0;

  ClickCounterBase.created() : super.created() {
  }

  void increment() {
    count++;
  }
}

@CustomTag('click-counter')
class ClickCounter extends ClickCounterBase {
  ClickCounter.created() : super.created() {
  }
}

  1. Launch the dart2js version in FireFox.
  2. Click the "Click me" button. - Nothing happens

What version of the product are you using? On what operating system?
last dev version of Dart Editor (build 34792) and SDK, polymer 0.10.0-pre.8

@sethladd
Copy link
Contributor

Added Area-Polymer, Triaged labels.

@jmesserly
Copy link

Removed Area-Polymer label.
Added Pkg-Polymer, Area-Pkg labels.

@srawlins
Copy link
Member

srawlins commented Jun 8, 2014

This seems to be a dup of Issue #17467, but this has a simpler example.

@DartBot
Copy link
Author

DartBot commented Jun 8, 2014

This comment was originally written by @zoechi


@srawlins@google.com

I can't reproduce this issue with Polymer 0.10.1+1
and I think this this are different issues.

Issue #17467 is about markup from base elements not inserted into the DOM which is not supported anymore because the insertion rules were simplified and the specific case explained in issue #17467 which was supported until some time wasn't anymore after a Dartium/Chrome/Polyfill update.

@sigmundch
Copy link
Member

Thanks Günter for trying it out! From your comment it seems that we can close this issue.

@srawlins - feel free to reply here if you are still seeing this problem.


Added AssumedStale label.

@DartBot DartBot added Type-Defect area-pkg Used for miscellaneous pkg/ packages not associated with specific area- teams. closed-obsolete Closed as the reported issue is no longer relevant labels Jul 1, 2014
@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

This issue has been moved to dart-archive/polymer-dart#162.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-pkg Used for miscellaneous pkg/ packages not associated with specific area- teams. closed-obsolete Closed as the reported issue is no longer relevant
Projects
None yet
Development

No branches or pull requests

6 participants