| Index: pkg/polymer/test/instance_attrs_test.html
|
| diff --git a/pkg/polymer/test/attr_mustache_test.html b/pkg/polymer/test/instance_attrs_test.html
|
| similarity index 53%
|
| copy from pkg/polymer/test/attr_mustache_test.html
|
| copy to pkg/polymer/test/instance_attrs_test.html
|
| index df9f9ee1ad9b406614e9f42d10e735484711964f..180986179953f6c833ae6b4f5444f9475a187a7c 100644
|
| --- a/pkg/polymer/test/attr_mustache_test.html
|
| +++ b/pkg/polymer/test/instance_attrs_test.html
|
| @@ -1,4 +1,4 @@
|
| -<!doctype html>
|
| +<!DOCTYPE html>
|
| <!--
|
| Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
|
| for details. All rights reserved. Use of this source code is governed by a
|
| @@ -6,22 +6,21 @@ BSD-style license that can be found in the LICENSE file.
|
| -->
|
| <html>
|
| <head>
|
| - <title>take attributes</title>
|
| + <title>Polymer.dart attribute deserialization test</title>
|
| <script src="packages/polymer/boot.js"></script>
|
| <script src="packages/unittest/test_controller.js"></script>
|
| </head>
|
| <body>
|
| - <x-test id="test"></x-test>
|
| -
|
| - <polymer-element name="x-target" attributes="src">
|
| - </polymer-element>
|
| -
|
| - <polymer-element name="x-test">
|
| + <polymer-element name="my-element" foo="123" bar="hi" baz="there" noscript>
|
| <template>
|
| - <x-target id="target" src="../{{src}}"></x-target>
|
| + foo: {{attributes['foo']}}
|
| + bar: {{attributes['bar']}}
|
| + baz: {{attributes['baz']}}
|
| </template>
|
| </polymer-element>
|
|
|
| - <script type="application/dart" src="attr_mustache_test.dart"></script>
|
| + <my-element baz="world"></my-element>
|
| +
|
| + <script type="application/dart" src="instance_attrs_test.dart"></script>
|
| </body>
|
| </html>
|
|
|