Index: samples/third_party/todomvc/test/markdone_shadow_test.html |
diff --git a/samples/third_party/todomvc/test/markdone_shadow_test.html b/samples/third_party/todomvc/test/markdone_shadow_test.html |
index 6dd9a7fc5f724774be46150f2e31eea13111b316..bccbd0ea85b6976613dcbf25aeecba26013b7147 100644 |
--- a/samples/third_party/todomvc/test/markdone_shadow_test.html |
+++ b/samples/third_party/todomvc/test/markdone_shadow_test.html |
@@ -11,9 +11,12 @@ BSD-style license that can be found in the LICENSE file. |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
<script> |
// Force the ShadowDOM polyfill to run regardless of whether it is needed. |
- window.__forceShadowDomPolyfill = true; |
+ window.Platform = window.Platform || {}; |
+ Platform.flags = Platform.flags || {}; |
+ Platform.flags.shadow = true; |
</script> |
<link rel="stylesheet" href="../web/app/app.css"> |
+ <link rel="import" href="packages/polymer/polymer.html"> |
<link rel="import" href="../web/elements/td_model.html"> |
<link rel="import" href="../web/elements/td_todos.html"> |
<script src="packages/unittest/test_controller.js"></script> |