commit | a91cc6c7014ccb8f6036690e64f741f3f456dbf8 | [log] [tgz] |
---|---|---|
author | Ryan Macnak <rmacnak@google.com> | Wed May 08 18:23:26 2019 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org> | Wed May 08 18:23:26 2019 +0000 |
tree | 55d3b6575f34bc935664723908ff414619a501e1 | |
parent | d0f9c9c1a73720f49005a15ab9e5ef1af1dc007f [diff] |
[observatory] Remove use of custom elements. document.registerElement is going away soon, and dart2js never implemented window.customElements.define. Replace the inheritance with composition for each FooElement. When used to create a DOM tree, replace `new FooElement()` with `new FooElement().element`. In CSS, replace each custom element selector with a class selector, i.e. `foo-element` with `.foo-element`. Bug: https://github.com/dart-lang/sdk/issues/34107 Change-Id: Id5ab5b6104a6165a8ad3b01d73ee9d76e46024ed Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/101061 Reviewed-by: Ben Konyi <bkonyi@google.com> Commit-Queue: Ryan Macnak <rmacnak@google.com>
Dart is an open-source, scalable programming language, with robust libraries and runtimes, for building web, server, and mobile apps.
Visit the dartlang.org to learn more about the language, tools, getting started, and more.
Browse pub.dartlang.org for more packages and libraries contributed by the community and the Dart team.
If you want to build Dart yourself, here is a guide to getting the source, preparing your machine to build the SDK, and building.
There are more documents on our wiki.
The easiest way to contribute to Dart is to file issues.
You can also contribute patches, as described in Contributing.