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

Unified Diff: pkg/polymer/test/build/linter_test.dart

Issue 562973002: remove event handler warning for auto-binding template elements (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/polymer/lib/src/build/linter.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/polymer/test/build/linter_test.dart
diff --git a/pkg/polymer/test/build/linter_test.dart b/pkg/polymer/test/build/linter_test.dart
index 088642fc9849e42bc2be1e9dd6dc190a74aa2dac..6d5b883c8126588c54e0cb4f8c536caf6af464c3 100644
--- a/pkg/polymer/test/build/linter_test.dart
+++ b/pkg/polymer/test/build/linter_test.dart
@@ -438,6 +438,14 @@ void main() {
'''.replaceAll(' ', ''),
}, []);
+ _testLinter('no longer warn about on-foo for auto-binding templates', {
+ 'a|lib/test.html': '''<html><body>
+ <template is="auto-binding-dart">
+ <div on-foo="{{something}}"></div>
+ </template>
+ '''.replaceAll(' ', ''),
+ }, []);
+
_testLinter('on-foo is only supported in polymer elements', {
'a|lib/test.html': '''<html><body>
<div on-foo="something"></div>
« no previous file with comments | « pkg/polymer/lib/src/build/linter.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698