OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 metrics; | 5 library metrics; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 import 'dart:html'; | 8 import 'dart:html'; |
9 import 'observatory_element.dart'; | 9 import 'observatory_element.dart'; |
10 import 'package:observatory/app.dart'; | 10 import 'package:observatory/app.dart'; |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 _table.addTimeOfDayValue(sample.time, sample.value); | 190 _table.addTimeOfDayValue(sample.time, sample.value); |
191 } | 191 } |
192 } | 192 } |
193 | 193 |
194 metricChanged(oldValue) { | 194 metricChanged(oldValue) { |
195 if (oldValue != metric) { | 195 if (oldValue != metric) { |
196 _setupInitialDataTable(); | 196 _setupInitialDataTable(); |
197 } | 197 } |
198 } | 198 } |
199 } | 199 } |
OLD | NEW |