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

Side by Side Diff: pkg/polymer/test/prop_attr_bind_reflection_test.html

Issue 723393003: update to polymer js 0.5.1 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: final tweaks Created 6 years 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <!--polymer-test: this comment is needed for test_suite.dart--> 3 <!--polymer-test: this comment is needed for test_suite.dart-->
4 <head> 4 <head>
5 <title>property to attribute reflection with bind</title> 5 <title>property to attribute reflection with bind</title>
6 <script src="packages/web_components/platform.js"></script>
7 <script src="packages/web_components/dart_support.js"></script>
8 <link rel="import" href="packages/polymer/polymer.html"> 6 <link rel="import" href="packages/polymer/polymer.html">
9 <script src="/root_dart/tools/testing/dart/test_controller.js"></script> 7 <script src="/root_dart/tools/testing/dart/test_controller.js"></script>
10 </head> 8 </head>
11 9
12 <body> 10 <body>
13 <polymer-element name="my-child-element"> 11 <polymer-element name="my-child-element">
14 <template> 12 <template>
15 <h1>Hello from the child</h1> 13 <h1>Hello from the child</h1>
16 <p>The camelCase is {{camelCase}}, attr {{attributes["camelCase"]}}</p> 14 <p>The camelCase is {{camelCase}}, attr {{attributes["camelCase"]}}</p>
17 <p>The lowercase is {{lowercase}}, attr {{attributes["lowercase"]}}</p> 15 <p>The lowercase is {{lowercase}}, attr {{attributes["lowercase"]}}</p>
18 </template> 16 </template>
19 </polymer-element> 17 </polymer-element>
20 18
21 <polymer-element name="my-element"> 19 <polymer-element name="my-element">
22 <template> 20 <template>
23 <h1>Hello from the custom element. The volume is {{volume}}</h1> 21 <h1>Hello from the custom element. The volume is {{volume}}</h1>
24 <p> 22 <p>
25 <my-child-element id="child" 23 <my-child-element id="child"
26 camelCase="{{volume}}" lowercase="{{volume}}"></my-child-element> 24 camelCase="{{volume}}" lowercase="{{volume}}"></my-child-element>
27 </p> 25 </p>
28 </template> 26 </template>
29 </polymer-element> 27 </polymer-element>
30 28
31 <my-element></my-element> 29 <my-element></my-element>
32 30
33 <script type="application/dart" src="prop_attr_bind_reflection_test.dart"> 31 <script type="application/dart" src="prop_attr_bind_reflection_test.dart">
34 </script> 32 </script>
35 </body> 33 </body>
36 </html> 34 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698