| Index: example/todomvc/web/todo_row.dart
|
| diff --git a/example/todomvc/web/todo_row.dart b/example/todomvc/web/todo_row.dart
|
| index 4e2a75799b95d1a92e569899f7a23184957d5211..e221f17322be9fb4d63ea185f1d1782f849b5e3d 100644
|
| --- a/example/todomvc/web/todo_row.dart
|
| +++ b/example/todomvc/web/todo_row.dart
|
| @@ -12,17 +12,22 @@ class TodoRow extends PolymerElement with ObservableMixin {
|
| @observable Todo todo;
|
|
|
| bool get applyAuthorStyles => true;
|
| - ScopedCssMapper get css => getScopedCss("todo-row");
|
| +
|
| + // TODO(sigmund,terry): bring back scoped-css polyfills
|
|
|
| created() {
|
| super.created();
|
| var root = getShadowRoot("todo-row");
|
| var label = root.query('#label').xtag;
|
| - var item = root.query('.' + css['.todo-item']);
|
| + var item = root.query('.todo-item');
|
|
|
| - bindCssClass(item, css['.completed'], this, 'todo.done');
|
| - bindCssClass(item, css['.editing'], label, 'editing');
|
| + bindCssClass(item, 'completed', this, 'todo.done');
|
| + bindCssClass(item, 'editing', label, 'editing');
|
| }
|
|
|
| void removeTodo() => appModel.todos.remove(todo);
|
| }
|
| +
|
| +_init() {
|
| + registerPolymerElement('todo-row', () => new TodoRow());
|
| +}
|
|
|