Chromium Code Reviews| Index: pkg/polymer/lib/src/build/linter.dart |
| diff --git a/pkg/polymer/lib/src/build/linter.dart b/pkg/polymer/lib/src/build/linter.dart |
| index 9e683f422e0db64286ce47eafce6d51ec22dfebc..2b1cffe1bb8fe6e5461aba07090e839d22a5a383 100644 |
| --- a/pkg/polymer/lib/src/build/linter.dart |
| +++ b/pkg/polymer/lib/src/build/linter.dart |
| @@ -338,8 +338,11 @@ class _LinterVisitor extends TreeVisitor { |
| hasIsAttribute = true; |
| } |
| - if (customTagName == null || customTagName == 'polymer-element') return; |
| - |
| + if (customTagName == null || customTagName == 'polymer-element' || |
|
Siggi Cherem (dart-lang)
2014/07/07 21:11:26
let's put polymer-element also as part of the list
|
| + INTERNALLY_DEFINED_ELEMENTS.contains(customTagName)) { |
| + return; |
| + } |
| + |
| var info = _elements[customTagName]; |
| if (info == null) { |
| // TODO(jmesserly): this warning is wrong if someone is using raw custom |
| @@ -451,3 +454,5 @@ const String USE_INIT_DART = |
| const String NO_DART_SCRIPT_AND_EXPERIMENTAL = |
| 'The experimental bootstrap feature doesn\'t support script tags on ' |
| 'the main document (for now).'; |
| + |
| +const List<String> INTERNALLY_DEFINED_ELEMENTS = const ['auto-binding-dart']; |