OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 import 'dart:html'; | 5 import 'dart:html'; |
6 import 'dart:async'; | 6 import 'dart:async'; |
7 import 'package:observatory/models.dart' as M show IsolateRef, LibraryRef; | 7 import 'package:observatory/models.dart' as M show IsolateRef, LibraryRef; |
8 import 'package:observatory/src/elements/helpers/nav_menu.dart'; | 8 import 'package:observatory/src/elements/helpers/nav_menu.dart'; |
9 import 'package:observatory/src/elements/helpers/rendering_scheduler.dart'; | 9 import 'package:observatory/src/elements/helpers/rendering_scheduler.dart'; |
10 import 'package:observatory/src/elements/helpers/tag.dart'; | 10 import 'package:observatory/src/elements/helpers/tag.dart'; |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 | 51 |
52 @override | 52 @override |
53 void detached() { | 53 void detached() { |
54 super.detached(); | 54 super.detached(); |
55 children = []; | 55 children = []; |
56 _r.disable(notify: true); | 56 _r.disable(notify: true); |
57 } | 57 } |
58 | 58 |
59 void render() { | 59 void render() { |
60 children = [ | 60 children = [ |
61 navMenu(library.name, content: _content, | 61 navMenu(library.name, |
62 link: Uris.inspect(isolate, object: library).toString()) | 62 content: _content, |
| 63 link: Uris.inspect(isolate, object: library).toString()) |
63 ]; | 64 ]; |
64 } | 65 } |
65 } | 66 } |
OLD | NEW |