| 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 868 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 879 _sync(null, _host, _root); | 879 _sync(null, _host, _root); |
| 880 } | 880 } |
| 881 } | 881 } |
| 882 | 882 |
| 883 class Text extends Component { | 883 class Text extends Component { |
| 884 Text(this.data) : super(key: '*text*'); | 884 Text(this.data) : super(key: '*text*'); |
| 885 final String data; | 885 final String data; |
| 886 bool get interchangeable => true; | 886 bool get interchangeable => true; |
| 887 UINode build() => new Paragraph(children: [new TextFragment(data)]); | 887 UINode build() => new Paragraph(children: [new TextFragment(data)]); |
| 888 } | 888 } |
| OLD | NEW |