Index: runtime/observatory/lib/src/elements/isolate_ref.dart |
diff --git a/runtime/observatory/lib/src/elements/isolate_ref.dart b/runtime/observatory/lib/src/elements/isolate_ref.dart |
index 2bee70bf2e4c791e557ecb731c0c3ecb39e37110..3b32c1807bea6ddc4ce55bda8b316c90e25cf316 100644 |
--- a/runtime/observatory/lib/src/elements/isolate_ref.dart |
+++ b/runtime/observatory/lib/src/elements/isolate_ref.dart |
@@ -6,8 +6,7 @@ library isolate_ref_element; |
import 'dart:html'; |
import 'dart:async'; |
-import 'package:observatory/models.dart' as M |
- show IsolateRef, EventRepository; |
+import 'package:observatory/models.dart' as M show IsolateRef, EventRepository; |
import 'package:observatory/src/elements/helpers/rendering_scheduler.dart'; |
import 'package:observatory/src/elements/helpers/tag.dart'; |
import 'package:observatory/src/elements/helpers/uris.dart'; |
@@ -19,7 +18,6 @@ class IsolateRefElement extends HtmlElement implements Renderable { |
Stream<RenderedEvent<IsolateRefElement>> get onRendered => _r.onRendered; |
- |
M.IsolateRef _isolate; |
M.EventRepository _events; |
StreamSubscription _updatesSubscription; |
@@ -43,8 +41,11 @@ class IsolateRefElement extends HtmlElement implements Renderable { |
void attached() { |
super.attached(); |
_updatesSubscription = _events.onIsolateUpdate |
- .where((e) => e.isolate.id == isolate.id) |
- .listen((e) { _isolate = e.isolate; _r.dirty(); }); |
+ .where((e) => e.isolate.id == isolate.id) |
+ .listen((e) { |
+ _isolate = e.isolate; |
+ _r.dirty(); |
+ }); |
_r.enable(); |
} |