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

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

Issue 27518006: Practically remove boot.js, adds the initialization from the Dart side of (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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/test/events_test.html ('k') | pkg/polymer/test/instance_attrs_test.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/polymer/test/instance_attrs_test.dart
diff --git a/pkg/polymer/test/instance_attrs_test.dart b/pkg/polymer/test/instance_attrs_test.dart
index 71030797992954669cf2591aa5375da681031c35..45508bc153024a7e3a2c781ff0c77d66277ae6b1 100644
--- a/pkg/polymer/test/instance_attrs_test.dart
+++ b/pkg/polymer/test/instance_attrs_test.dart
@@ -11,9 +11,13 @@ import 'package:polymer/polymer.dart';
@CustomTag('my-element')
class MyElement extends PolymerElement {
MyElement.created() : super.created();
+
+ // This is here so that [attributes] can be read via mirrors in polymer
+ // expressions (@CustomTag in this class makes the attribute reflectable).
+ get attributes => super.attributes;
}
-main() {
+@initMethod _main() {
useHtmlConfiguration();
test('attributes were deserialized', () {
« no previous file with comments | « pkg/polymer/test/events_test.html ('k') | pkg/polymer/test/instance_attrs_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698