| Index: dart/pkg/polymer/test/js_interop_test.html
|
| ===================================================================
|
| --- dart/pkg/polymer/test/js_interop_test.html (revision 37358)
|
| +++ dart/pkg/polymer/test/js_interop_test.html (working copy)
|
| @@ -8,16 +8,20 @@
|
| <!--polymer-test: this comment is needed for test_suite.dart-->
|
| <head>
|
| <title>polymer.js interop test</title>
|
| + <script src="packages/web_components/platform.js"></script>
|
| + <script src="packages/web_components/dart_support.js"></script>
|
| <link rel="import" href="packages/polymer/polymer.html">
|
| <script src="/root_dart/tools/testing/dart/test_controller.js"></script>
|
| </head>
|
| <body>
|
|
|
| - <polymer-element name="js-element" attributes="baz">
|
| + <polymer-element name="js-element">
|
| <template>FOOBAR</template>
|
| <script>
|
| Polymer('js-element', {
|
| - baz: 42,
|
| + publish: {
|
| + baz: {value: 42, reflect: true}
|
| + },
|
| aJsMethod: function(inc) {
|
| this.shadowRoot.textContent = this.baz + inc;
|
| },
|
|
|