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

Unified Diff: pkg/polymer/test/prop_attr_reflection_test.dart

Issue 211393006: Enables codegen support in polymer (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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
Index: pkg/polymer/test/prop_attr_reflection_test.dart
diff --git a/pkg/polymer/test/prop_attr_reflection_test.dart b/pkg/polymer/test/prop_attr_reflection_test.dart
index 79b9c8eb55be72baf4442909d72842bdea7108d5..657a876246131ad2e6e698a67bf623e3321e3239 100644
--- a/pkg/polymer/test/prop_attr_reflection_test.dart
+++ b/pkg/polymer/test/prop_attr_reflection_test.dart
@@ -7,6 +7,7 @@ import 'dart:html';
import 'package:unittest/unittest.dart';
import 'package:unittest/html_config.dart';
import 'package:polymer/polymer.dart';
+import 'package:smoke/mirrors.dart';
class XFoo extends PolymerElement {
XFoo.created() : super.created();
@@ -41,6 +42,10 @@ Future onAttributeChange(Element node) {
}
main() {
+ // The static configuration is not complete because of the missing @CustomTag.
+ // TODO(sigmund): add a different annotation for this? (dartbug.com/17790)
Jennifer Messerly 2014/03/27 02:20:32 you can remove this if looking for Polymer mixin :
Siggi Cherem (dart-lang) 2014/03/28 01:04:26 Done :) I changed above the @observable to @publ
+ useMirrors();
+
initPolymer();
useHtmlConfiguration();

Powered by Google App Engine
This is Rietveld 408576698