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 /** Extensions to the [Node] API. */ | 7 /** Extensions to the [Node] API. */ |
8 class NodeBindExtension { | 8 class NodeBindExtension { |
9 final Node _node; | 9 final Node _node; |
10 final JsObject _js; | 10 final JsObject _js; |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 */ | 191 */ |
192 Node get lastNode => _lastNode; | 192 Node get lastNode => _lastNode; |
193 | 193 |
194 /** The model used to instantiate the template. */ | 194 /** The model used to instantiate the template. */ |
195 final model; | 195 final model; |
196 | 196 |
197 Node _firstNode, _lastNode; | 197 Node _firstNode, _lastNode; |
198 | 198 |
199 TemplateInstance(this.model); | 199 TemplateInstance(this.model); |
200 } | 200 } |
OLD | NEW |