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

Side by Side Diff: samples/third_party/todomvc_performance/web/elements/td_todos.dart

Issue 204733004: Added TodoMVC startup benchmarks. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 library todomvc.web.elements.td_todos; 1 library todomvc.web.elements.td_todos;
2 2
3 import 'dart:html'; 3 import 'dart:html';
4 import 'package:polymer/polymer.dart'; 4 import 'package:polymer/polymer.dart';
5 import 'td_input.dart'; 5 import 'td_input.dart';
6 import 'td_model.dart'; 6 import 'td_model.dart';
7 7
8 @CustomTag('td-todos') 8 @CustomTag('td-todos')
9 class TodoList extends PolymerElement { 9 class TodoList extends PolymerElement {
10 @published String modelId; 10 @published String modelId;
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 } 52 }
53 53
54 void clearCompletedAction() { 54 void clearCompletedAction() {
55 model.clearItems(); 55 model.clearItems();
56 } 56 }
57 57
58 // TODO(jmesserly): workaround for HTML Imports not setting correct baseURI 58 // TODO(jmesserly): workaround for HTML Imports not setting correct baseURI
59 String get baseUri => 59 String get baseUri =>
60 declaration.element.ownerDocument == document ? '../' : ''; 60 declaration.element.ownerDocument == document ? '../' : '';
61 } 61 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698