| Index: pkg/polymer/test/two_way_bind_test.html
|
| diff --git a/pkg/polymer/test/prop_attr_bind_reflection_test.html b/pkg/polymer/test/two_way_bind_test.html
|
| similarity index 56%
|
| copy from pkg/polymer/test/prop_attr_bind_reflection_test.html
|
| copy to pkg/polymer/test/two_way_bind_test.html
|
| index cd0f674b46429b4437ab9aec5bbc6450e6d88da8..936889dda61f67e6e079a6946cd3e243246ef7cf 100644
|
| --- a/pkg/polymer/test/prop_attr_bind_reflection_test.html
|
| +++ b/pkg/polymer/test/two_way_bind_test.html
|
| @@ -2,7 +2,7 @@
|
| <html>
|
| <!--polymer-test: this comment is needed for test_suite.dart-->
|
| <head>
|
| - <title>property to attribute reflection with bind</title>
|
| + <title>two way bindings</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">
|
| @@ -13,24 +13,27 @@
|
| <polymer-element name="my-child-element">
|
| <template>
|
| <h1>Hello from the child</h1>
|
| - <p>The camelCase is {{camelCase}}, attr {{attributes["camelCase"]}}</p>
|
| - <p>The lowercase is {{lowercase}}, attr {{attributes["lowercase"]}}</p>
|
| + <p>The number is {{number}}</p>
|
| + <p>The boolean is {{boolean}}</p>
|
| + <p>The string is {{string}}</p>
|
| </template>
|
| </polymer-element>
|
|
|
| <polymer-element name="my-element">
|
| <template>
|
| - <h1>Hello from the custom element. The volume is {{volume}}</h1>
|
| + <h1>Hello from the custom element</h1>
|
| + <p>The number is {{number}}</p>
|
| + <p>The boolean is {{boolean}}</p>
|
| + <p>The string is {{string}}</p>
|
| <p>
|
| - <my-child-element id="child"
|
| - camelCase="{{volume}}" lowercase="{{volume}}"></my-child-element>
|
| + <my-child-element id="child" number="{{number}}"
|
| + boolean="{{boolean}}" string="{{string}}"></my-child-element>
|
| </p>
|
| </template>
|
| </polymer-element>
|
|
|
| <my-element></my-element>
|
|
|
| - <script type="application/dart" src="prop_attr_bind_reflection_test.dart">
|
| - </script>
|
| + <script type="application/dart" src="two_way_bind_test.dart"></script>
|
| </body>
|
| </html>
|
|
|