Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(238)

Issue 20886002: add custom_element package (Closed)

Created:
7 years, 4 months ago by Jennifer Messerly
Modified:
7 years, 4 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

add custom_element package code is from https://github.com/dart-lang/web-ui/blob/polymer/lib/custom_element.dart Includes a test for the polyfill. It also includes a static analysis test to catch the common errors of forgetting to add an Element API. Because we had analysis errors in "observe" and "mdv" packages too, I added tests for them too, and fixed the issues. R=sigmund@google.com Committed: https://code.google.com/p/dart/source/detail?r=25591

Patch Set 1 #

Patch Set 2 : fix library name and comment #

Patch Set 3 : remove unused dev dep #

Total comments: 1

Patch Set 4 : fix comment #

Patch Set 5 : added apis for easily creating custom elements #

Total comments: 7

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+850 lines, -21 lines) Patch
A pkg/custom_element/lib/custom_element.dart View 1 2 3 4 1 chunk +705 lines, -0 lines 0 comments Download
A pkg/custom_element/lib/src/custom_tag_name.dart View 1 1 chunk +27 lines, -0 lines 0 comments Download
A pkg/custom_element/pubspec.yaml View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
A + pkg/custom_element/test/analyzer_test.dart View 1 chunk +4 lines, -5 lines 0 comments Download
A pkg/custom_element/test/custom_element_test.dart View 1 2 3 4 5 1 chunk +80 lines, -0 lines 0 comments Download
M pkg/mdv/lib/src/template_iterator.dart View 1 chunk +1 line, -1 line 0 comments Download
A + pkg/mdv/test/analyzer_test.dart View 1 2 3 1 chunk +5 lines, -7 lines 0 comments Download
M pkg/observe/lib/src/observable.dart View 2 chunks +6 lines, -4 lines 0 comments Download
M pkg/observe/lib/src/observable_map.dart View 2 chunks +5 lines, -3 lines 0 comments Download
M pkg/observe/test/observe_test.dart View 1 chunk +3 lines, -0 lines 0 comments Download
M pkg/pkg.status View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
Jennifer Messerly
https://codereview.chromium.org/20886002/diff/5001/pkg/custom_element/test/analyzer_test.dart File pkg/custom_element/test/analyzer_test.dart (right): https://codereview.chromium.org/20886002/diff/5001/pkg/custom_element/test/analyzer_test.dart#newcode9 pkg/custom_element/test/analyzer_test.dart:9: // @static-clean this is the magic annotation to catch ...
7 years, 4 months ago (2013-07-27 01:35:08 UTC) #1
Jennifer Messerly
I added some APIs to make it easier to create these guys until we integrate ...
7 years, 4 months ago (2013-07-27 01:57:53 UTC) #2
Siggi Cherem (dart-lang)
lgtm https://codereview.chromium.org/20886002/diff/11001/pkg/custom_element/pubspec.yaml File pkg/custom_element/pubspec.yaml (right): https://codereview.chromium.org/20886002/diff/11001/pkg/custom_element/pubspec.yaml#newcode9 pkg/custom_element/pubspec.yaml:9: # TODO(jmesserly): fix this, we should not depend ...
7 years, 4 months ago (2013-07-29 20:18:51 UTC) #3
Jennifer Messerly
https://codereview.chromium.org/20886002/diff/11001/pkg/custom_element/pubspec.yaml File pkg/custom_element/pubspec.yaml (right): https://codereview.chromium.org/20886002/diff/11001/pkg/custom_element/pubspec.yaml#newcode9 pkg/custom_element/pubspec.yaml:9: # TODO(jmesserly): fix this, we should not depend on ...
7 years, 4 months ago (2013-07-29 20:22:31 UTC) #4
Siggi Cherem (dart-lang)
thx https://codereview.chromium.org/20886002/diff/11001/pkg/custom_element/test/custom_element_test.dart File pkg/custom_element/test/custom_element_test.dart (right): https://codereview.chromium.org/20886002/diff/11001/pkg/custom_element/test/custom_element_test.dart#newcode30 pkg/custom_element/test/custom_element_test.dart:30: return new Future(() { On 2013/07/29 20:22:31, John ...
7 years, 4 months ago (2013-07-29 20:28:35 UTC) #5
Jennifer Messerly
7 years, 4 months ago (2013-07-29 23:00:31 UTC) #6
Message was sent while issue was closed.
Committed patchset #6 manually as r25591 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698