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

Unified Diff: samples/third_party/todomvc/web/router_options.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 | « samples/third_party/todomvc/web/index.html ('k') | samples/third_party/todomvc/web/router_options.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/third_party/todomvc/web/router_options.dart
diff --git a/samples/third_party/todomvc/web/router_options.dart b/samples/third_party/todomvc/web/router_options.dart
index 0daddd0196892fbb7ffa2a24fa8df81f4d2ef67e..1959ed4dbfc60957071b512ce08ae0099d616c31 100644
--- a/samples/third_party/todomvc/web/router_options.dart
+++ b/samples/third_party/todomvc/web/router_options.dart
@@ -16,11 +16,12 @@ import 'package:polymer/polymer.dart';
* `class="selected"`, and other links will have that CSS class removed.
*/
@CustomTag('router-options')
-class RouterOptions extends PolymerElement {
+class RouterOptions extends UListElement with Polymer, ObservableMixin {
+ factory RouterOptions() => new Element.tag('ul', 'router-options');
- factory RouterOptions() => new Element.tag('router-options');
-
- RouterOptions.created() : super.created();
+ RouterOptions.created() : super.created() {
+ polymerCreated();
+ }
bool get applyAuthorStyles => true;
var _sub;
« no previous file with comments | « samples/third_party/todomvc/web/index.html ('k') | samples/third_party/todomvc/web/router_options.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698