OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 /** | 5 /** |
6 * This library provides access to the Polymer project's | 6 * This library provides access to the Polymer project's |
7 * [Data Binding](http://www.polymer-project.org/docs/polymer/databinding.html) | 7 * [Data Binding](http://www.polymer-project.org/docs/polymer/databinding.html) |
8 * Find more information at the | 8 * Find more information at the |
9 * [Polymer.dart homepage](https://www.dartlang.org/polymer-dart/). | 9 * [Polymer.dart homepage](https://www.dartlang.org/polymer-dart/). |
10 * | 10 * |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 | 171 |
172 // The expando for storing our MDV extensions. | 172 // The expando for storing our MDV extensions. |
173 // | 173 // |
174 // In general, we need state associated with the nodes. Rather than having a | 174 // In general, we need state associated with the nodes. Rather than having a |
175 // bunch of individual expandos, we keep one per node. | 175 // bunch of individual expandos, we keep one per node. |
176 // | 176 // |
177 // Aside from the potentially helping performance, it also keeps things simpler | 177 // Aside from the potentially helping performance, it also keeps things simpler |
178 // if we decide to integrate MDV into the DOM later, and means less code needs | 178 // if we decide to integrate MDV into the DOM later, and means less code needs |
179 // to worry about expandos. | 179 // to worry about expandos. |
180 final Expando _expando = new Expando('template_binding'); | 180 final Expando _expando = new Expando('template_binding'); |
OLD | NEW |