| 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 /// This library provides a single function called injectLogs which when called | 5 /// This library provides a single function called injectLogs which when called |
| 6 /// will request a logs json file and build a small widget out of them which | 6 /// will request a logs json file and build a small widget out of them which |
| 7 /// groups the logs by level. | 7 /// groups the logs by level. |
| 8 library polymer.build.log_injector; | 8 library polymer.build.log_injector; |
| 9 | 9 |
| 10 import 'dart:async'; | 10 import 'dart:async'; |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 }); | 119 }); |
| 120 | 120 |
| 121 document.body.append(wrapperDiv); | 121 document.body.append(wrapperDiv); |
| 122 } | 122 } |
| 123 } | 123 } |
| 124 | 124 |
| 125 final _urlRegex = new RegExp('http://[^ ]*'); | 125 final _urlRegex = new RegExp('http://[^ ]*'); |
| 126 class _OpenUriPolicy implements UriPolicy { | 126 class _OpenUriPolicy implements UriPolicy { |
| 127 bool allowsUri(String uri) => true; | 127 bool allowsUri(String uri) => true; |
| 128 } | 128 } |
| OLD | NEW |