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 27903006: Improves how to initialize polymer apps and fixes polymer build and linter to (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 months 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 <head> 4 <head>
4 <title>property to attribute reflection with bind</title> 5 <title>property to attribute reflection with bind</title>
5 <script src="packages/unittest/test_controller.js"></script> 6 <script src="packages/unittest/test_controller.js"></script>
6 </head> 7 </head>
7 8
8 <body> 9 <body>
9 <polymer-element name="my-child-element"> 10 <polymer-element name="my-child-element">
10 <template> 11 <template>
11 <h1>Hello from the child</h1> 12 <h1>Hello from the child</h1>
12 <p>The camelCase is {{camelCase}}, attr {{attributes["camelCase"]}}</p> 13 <p>The camelCase is {{camelCase}}, attr {{attributes["camelCase"]}}</p>
13 <p>The lowercase is {{lowercase}}, attr {{attributes["lowercase"]}}</p> 14 <p>The lowercase is {{lowercase}}, attr {{attributes["lowercase"]}}</p>
14 </template> 15 </template>
15 </polymer-element> 16 </polymer-element>
16 17
17 <polymer-element name="my-element"> 18 <polymer-element name="my-element">
18 <template> 19 <template>
19 <h1>Hello from the custom element. The volume is {{volume}}</h1> 20 <h1>Hello from the custom element. The volume is {{volume}}</h1>
20 <p> 21 <p>
21 <my-child-element id="child" 22 <my-child-element id="child"
22 camelCase="{{volume}}" lowercase="{{volume}}"></my-child-element> 23 camelCase="{{volume}}" lowercase="{{volume}}"></my-child-element>
23 </p> 24 </p>
24 </template> 25 </template>
25 </polymer-element> 26 </polymer-element>
26 27
27 <my-element></my-element> 28 <my-element></my-element>
28 29
29 <script type="application/dart" src="prop_attr_bind_reflection_test.dart"> 30 <script type="application/dart" src="prop_attr_bind_reflection_test.dart">
30 </script> 31 </script>
31 <script type="application/dart" src="packages/polymer/init.dart"></script>
32 </body> 32 </body>
33 </html> 33 </html>
OLDNEW
« no previous file with comments | « pkg/polymer/test/prop_attr_bind_reflection_test.dart ('k') | pkg/polymer/test/prop_attr_reflection_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698