| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 library fn; | 5 library fn; |
| 6 | 6 |
| 7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 import 'dart:collection'; | 8 import 'dart:collection'; |
| 9 import 'dart:sky' as sky; | 9 import 'dart:sky' as sky; |
| 10 import 'reflect.dart' as reflect; | 10 import 'reflect.dart' as reflect; |
| (...skipping 904 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 915 _sync(null, _host, _root); | 915 _sync(null, _host, _root); |
| 916 } | 916 } |
| 917 } | 917 } |
| 918 | 918 |
| 919 class Text extends Component { | 919 class Text extends Component { |
| 920 Text(this.data) : super(key: '*text*'); | 920 Text(this.data) : super(key: '*text*'); |
| 921 final String data; | 921 final String data; |
| 922 bool get interchangeable => true; | 922 bool get interchangeable => true; |
| 923 UINode build() => new Paragraph(children: [new TextFragment(data)]); | 923 UINode build() => new Paragraph(children: [new TextFragment(data)]); |
| 924 } | 924 } |
| OLD | NEW |