OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 part of template_binding; | 5 part of template_binding; |
6 | 6 |
7 // This code is a port of what was formerly known as Model-Driven-Views, now | 7 // This code is a port of what was formerly known as Model-Driven-Views, now |
8 // located at: | 8 // located at: |
9 // https://github.com/polymer/TemplateBinding | 9 // https://github.com/polymer/TemplateBinding |
10 // https://github.com/polymer/NodeBind | 10 // https://github.com/polymer/NodeBind |
(...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
547 _closed = true; | 547 _closed = true; |
548 } | 548 } |
549 } | 549 } |
550 | 550 |
551 // Dart note: the JavaScript version just puts an expando on the array. | 551 // Dart note: the JavaScript version just puts an expando on the array. |
552 class _BoundNodes { | 552 class _BoundNodes { |
553 final List<Node> nodes; | 553 final List<Node> nodes; |
554 final List<Bindable> instanceBindings; | 554 final List<Bindable> instanceBindings; |
555 _BoundNodes(this.nodes, this.instanceBindings); | 555 _BoundNodes(this.nodes, this.instanceBindings); |
556 } | 556 } |
OLD | NEW |