| 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 library object_common_element; | 5 library object_common_element; |
| 6 | 6 |
| 7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 import 'observatory_element.dart'; | 8 import 'observatory_element.dart'; |
| 9 import 'package:observatory/service.dart'; | 9 import 'package:observatory/service.dart'; |
| 10 import 'package:polymer/polymer.dart'; | 10 import 'package:polymer/polymer.dart'; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 return object.isolate.get(object.id + "/inbound_references?limit=$arg") | 37 return object.isolate.get(object.id + "/inbound_references?limit=$arg") |
| 38 .then((ServiceObject obj) { | 38 .then((ServiceObject obj) { |
| 39 inboundReferences = obj; | 39 inboundReferences = obj; |
| 40 }); | 40 }); |
| 41 } | 41 } |
| 42 | 42 |
| 43 void refresh(Function onDone) { | 43 void refresh(Function onDone) { |
| 44 object.reload().whenComplete(onDone); | 44 object.reload().whenComplete(onDone); |
| 45 } | 45 } |
| 46 } | 46 } |
| OLD | NEW |