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

Side by Side Diff: test/src/common/polymer_mixin_test.html

Issue 1351693003: Update to use one less proxy per element (Closed) Base URL: git@github.com:dart-lang/polymer-dart.git@behaviors
Patch Set: redo! Created 5 years, 3 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <!-- 2 <!--
3 Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 3 Copyright (c) 2015, 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 <script src="packages/web_components/webcomponents.min.js"></script> 9 <script src="packages/web_components/webcomponents.min.js"></script>
10 <link rel="x-dart-test" href="polymer_mixin_test.dart"> 10 <link rel="x-dart-test" href="polymer_mixin_test.dart">
11 <!--<script type="application/dart" src="polymer_mixin_test.dart"></script>--> 11 <!--<script type="application/dart" src="polymer_mixin_test.dart"></script>-->
12 <script src="packages/test/dart.js"></script></head> 12 <script src="packages/test/dart.js"></script></head>
13 <body> 13 <body>
14 <dom-module id="test-element"> 14 <dom-module id="test-element">
15 <template> 15 <template>
16 <div id="parent"> 16 <div id="parent">
17 parent 17 parent
18 <div id="child"> 18 <div id="child">
19 child 19 child
20 </div> 20 </div>
21 </div> 21 </div>
22 <!-- Makes sure that if a list is in a binding the updates don't happen tw ice -->
Siggi Cherem (dart-lang) 2015/09/17 21:11:59 is this a pitfall also in polymer.js or just for u
jakemac 2015/09/23 17:37:08 This is only for Polymer Dart elements. This is ju
Siggi Cherem (dart-lang) 2015/09/24 20:23:07 Oh - ok, maybe then change: Makes sure that ...
jakemac 2015/09/25 15:43:11 Done.
23 <sub-element id="sub" my-ints="{{myInts}}" my-map="{{myMap}}"
24 my-model="{{myModel}}"></sub-element>
25 </template>
26 </dom-module>
27
28 <dom-module id="sub-element">
29 <template>
30 <span id="modelValue">{{myModel.value}}</span>
22 </template> 31 </template>
23 </dom-module> 32 </dom-module>
24 </body> 33 </body>
25 </html> 34 </html>
OLDNEW
« lib/src/js/polymer_base_dart.html ('K') | « test/src/common/polymer_mixin_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698