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 <head> | 8 <head> |
9 <!--polymer-test: this comment is needed for test_suite.dart--> | 9 <!--polymer-test: this comment is needed for test_suite.dart--> |
10 <title>take attributes</title> | 10 <title>take attributes</title> |
| 11 <script src="packages/web_components/platform.js"></script> |
| 12 <script src="packages/web_components/dart_support.js"></script> |
11 <link rel="import" href="packages/polymer/polymer.html"> | 13 <link rel="import" href="packages/polymer/polymer.html"> |
12 <script src="/root_dart/tools/testing/dart/test_controller.js"></script> | 14 <script src="/root_dart/tools/testing/dart/test_controller.js"></script> |
13 </head> | 15 </head> |
14 <body> | 16 <body> |
15 | 17 |
16 <polymer-element name="x-foo"></polymer-element> | 18 <polymer-element name="x-foo"></polymer-element> |
17 | 19 |
18 <x-foo id="foo0" boolean="true"></x-foo> | 20 <x-foo id="foo0" boolean="true"></x-foo> |
19 <x-foo id="foo1" boolean="false"></x-foo> | 21 <x-foo id="foo1" boolean="false"></x-foo> |
20 <x-foo id="foo2" boolean></x-foo> | 22 <x-foo id="foo2" boolean></x-foo> |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 <x-obj id="obj1" values='{ "name": "Brandon", "nums": [1, 22, 33] }'> | 69 <x-obj id="obj1" values='{ "name": "Brandon", "nums": [1, 22, 33] }'> |
68 </x-obj> | 70 </x-obj> |
69 <x-obj id="obj2" values='{ "color": "Red" }'></x-obj> | 71 <x-obj id="obj2" values='{ "color": "Red" }'></x-obj> |
70 <x-obj id="obj3" | 72 <x-obj id="obj3" |
71 values="{ 'movie': 'Buckaroo Banzai', 'DOB': '07/31/1978' }"> | 73 values="{ 'movie': 'Buckaroo Banzai', 'DOB': '07/31/1978' }"> |
72 </x-obj> | 74 </x-obj> |
73 | 75 |
74 <script type="application/dart" src="take_attributes_test.dart"></script> | 76 <script type="application/dart" src="take_attributes_test.dart"></script> |
75 </body> | 77 </body> |
76 </html> | 78 </html> |
OLD | NEW |