Find a file
Stephen Adams aeaf82577e dart:html: Add Element.removeAttribute
- Improve `element.attributes.remove(name)` to compile to `element.removeAttribute(name)`.
- Improve `element.getNamespacedAttributes(namespace).remove(name)` to compile to
  `element.removeAttributeNS(namespace, name)`.
- Add removeAttribute[NS].
- Add hasAttriute[NS].
- Assert attribute names are not null to prevent conversion to "null"/"undefined".
- TODO: Assert values are not null to prevent conversion to "null"/"undefined".
- namespaceURI does not need checking since null and undefined map to 'no namespace'.

Fixes https://github.com/dart-lang/sdk/issues/35655

Change-Id: Ie5bee23c88e8fb92f9d46f29fdf4b7f3175a2aa3
Reviewed-on: https://dart-review.googlesource.com/c/90160
Commit-Queue: Stephen Adams <sra@google.com>
Reviewed-by: Terry Lucas <terry@google.com>
2019-01-18 19:06:24 +00:00
.github Fix probot configuration to point to the "needs-info" label. 2018-12-20 21:26:57 +00:00
build [build] Enable mitigations for Cortex-A53 Erratum #843419 bug. 2019-01-15 16:50:33 +00:00
client
docs After some more git cl uploads, this fixes a bunch of 2019-01-18 11:04:12 +00:00
pkg Prepare to publish a new version of the analyzer_plugin package with an updated dependency on analyzer 2019-01-18 18:03:40 +00:00
runtime [ VM ] Updated licenses to match other licenses in project 2019-01-18 18:23:26 +00:00
samples Revert "[gardening] mark sample_extension_test as error" 2018-12-10 19:37:33 +00:00
samples-dev fix some typos 2018-10-10 19:15:30 +00:00
sdk dart:html: Add Element.removeAttribute 2019-01-18 19:06:24 +00:00
tests [VM] Enable set literal tests in dartk mode. 2019-01-18 18:29:29 +00:00
third_party Roll tcmalloc to e9ab4c53041ac62feefbbb076d326e9a77dd1567. 2018-12-13 02:20:03 +00:00
tools dart:html: Add Element.removeAttribute 2019-01-18 19:06:24 +00:00
utils [dartdevc] remove unused dartdevk binary, fixes #35483 2019-01-04 17:19:52 +00:00
.clang-format
.gitattributes Remove the Dart 1 tests. 2018-10-11 23:45:18 +00:00
.gitconfig [infra] Add documentation to .gitconfig 2018-06-11 18:24:16 +00:00
.gitignore [tools] repurpose generate_compile_commands.py to generate_idefiles.py 2019-01-04 09:05:23 +00:00
.gn
.mailmap fix my name in .mailmap 2018-09-11 01:45:52 +00:00
.packages Remove pkg:tuple from DEPS 2018-12-13 22:51:21 +00:00
.vpython [infra] Add .vpython spec to fix gsutil on the bots (#31065) 2018-10-11 15:11:35 +00:00
AUTHORS
BUILD.gn [VM] Remove 'corelib' and 'dart-io' sources generation into C++ arrays 2018-10-02 23:27:05 +00:00
CHANGELOG.md dart:html: Add Element.removeAttribute 2019-01-18 19:06:24 +00:00
codereview.settings
CONTRIBUTING.md Change wiki link to follow contents moved. 2019-01-12 18:46:22 +00:00
dartdoc_options.yaml
DEPS [co19] DEPS and status file updated 2019-01-18 12:53:04 +00:00
LICENSE
PATENTS
PRESUBMIT.py Don't check formatting of Front-End test cases 2019-01-18 13:18:55 +00:00
README.dart-sdk
README.md
WATCHLISTS [vm/compiler] Add VM Compiler Team WATCHLIST 2018-11-23 10:24:02 +00:00

Dart

Dart is an open-source, scalable programming language, with robust libraries and runtimes, for building web, server, and mobile apps.

Using Dart

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.

Building Dart

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.

Contributing to Dart

The easiest way to contribute to Dart is to file issues.

You can also contribute patches, as described in Contributing.

License & patents

See LICENSE and PATENTS.