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

Unified Diff: samples/third_party/todomvc/web/elements/td_todos.dart

Issue 182193002: [polymer] interop with polymer-element and polymer.js (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: samples/third_party/todomvc/web/elements/td_todos.dart
diff --git a/samples/third_party/todomvc/web/elements/td_todos.dart b/samples/third_party/todomvc/web/elements/td_todos.dart
index 535e6dce9154ea2d271f2fd33b7d0cb2da88b864..f0ac23832b22911afb002fc9b4c93cb7aaf668f1 100644
--- a/samples/third_party/todomvc/web/elements/td_todos.dart
+++ b/samples/third_party/todomvc/web/elements/td_todos.dart
@@ -56,5 +56,6 @@ class TodoList extends PolymerElement {
}
// TODO(jmesserly): workaround for HTML Imports not setting correct baseURI
- String get baseUri => declaration.ownerDocument == document ? '../' : '';
+ String get baseUri =>
+ declaration.element.ownerDocument == document ? '../' : '';
}
« no previous file with comments | « samples/third_party/todomvc/test/markdone_test.html ('k') | samples/third_party/todomvc/web/elements/td_todos.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698