| OLD | NEW |
| 1 <!doctype html> | 1 <!doctype html> |
| 2 <!-- | 2 <!-- |
| 3 Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 3 Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 4 for details. All rights reserved. Use of this source code is governed by a | 4 for details. All rights reserved. Use of this source code is governed by a |
| 5 BSD-style license that can be found in the LICENSE file. | 5 BSD-style license that can be found in the LICENSE file. |
| 6 --> | 6 --> |
| 7 <html> | 7 <html> |
| 8 <!--polymer-test: this comment is needed for test_suite.dart--> | 8 <!--polymer-test: this comment is needed for test_suite.dart--> |
| 9 <head> | 9 <head> |
| 10 <title>polymer.js interop test</title> | 10 <title>polymer.js interop test</title> |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 | 40 |
| 41 <polymer-element name="js-element2" attributes="qux"> | 41 <polymer-element name="js-element2" attributes="qux"> |
| 42 <template>QUX:{{qux.baz}}</template> | 42 <template>QUX:{{qux.baz}}</template> |
| 43 <script>Polymer('js-element2');</script> | 43 <script>Polymer('js-element2');</script> |
| 44 </polymer-element> | 44 </polymer-element> |
| 45 | 45 |
| 46 | 46 |
| 47 <polymer-element name="dart-element2"> | 47 <polymer-element name="dart-element2"> |
| 48 <template> | 48 <template> |
| 49 <js-element2 qux="{{quux}}"></js-element2> | 49 <js-element2 qux="{{quux}}"></js-element2> |
| 50 <!-- TODO(jakemac): remove this once |
| 51 https://github.com/Polymer/ShadowDOM/issues/495 is resolved --> |
| 52 <content hidden></content> |
| 50 </template> | 53 </template> |
| 51 </polymer-element> | 54 </polymer-element> |
| 52 | 55 |
| 53 <dart-element2> | 56 <dart-element2> |
| 54 <js-element baz="123" class="quux"></js-element> | 57 <js-element baz="123" class="quux"></js-element> |
| 55 </dart-element2> | 58 </dart-element2> |
| 56 | 59 |
| 57 | 60 |
| 58 <polymer-element name="js-element3" attributes="qux"> | 61 <polymer-element name="js-element3" attributes="qux"> |
| 59 <template>FOOBAR</template> | 62 <template>FOOBAR</template> |
| (...skipping 29 matching lines...) Expand all Loading... |
| 89 <js-two-way foobar="{{twoWay}}"></js-two-way> | 92 <js-two-way foobar="{{twoWay}}"></js-two-way> |
| 90 </template> | 93 </template> |
| 91 </polymer-element> | 94 </polymer-element> |
| 92 | 95 |
| 93 <dart-two-way></dart-two-way> | 96 <dart-two-way></dart-two-way> |
| 94 | 97 |
| 95 <script type="application/dart" src="js_interop_test.dart"></script> | 98 <script type="application/dart" src="js_interop_test.dart"></script> |
| 96 | 99 |
| 97 </body> | 100 </body> |
| 98 </html> | 101 </html> |
| OLD | NEW |