| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 /** | 5 /** |
| 6 * A script to assist in documenting the difference between the dart:html API | 6 * A script to assist in documenting the difference between the dart:html API |
| 7 * and the old DOM API. | 7 * and the old DOM API. |
| 8 */ | 8 */ |
| 9 library html_diff; | 9 library html_diff; |
| 10 | 10 |
| 11 import 'dart:async'; | 11 import 'dart:async'; |
| 12 import 'dart:io'; | 12 import 'dart:io'; |
| 13 import 'dart:uri'; | |
| 14 | 13 |
| 15 import 'lib/metadata.dart'; | 14 import 'lib/metadata.dart'; |
| 16 | 15 |
| 17 // TODO(rnystrom): Use "package:" URL (#4968). | 16 // TODO(rnystrom): Use "package:" URL (#4968). |
| 18 import '../../sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.d
art'; | 17 import '../../sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.d
art'; |
| 19 import '../../sdk/lib/_internal/compiler/implementation/mirrors/mirrors.dart'; | 18 import '../../sdk/lib/_internal/compiler/implementation/mirrors/mirrors.dart'; |
| 20 import '../../sdk/lib/_internal/compiler/implementation/mirrors/mirrors_util.dar
t'; | 19 import '../../sdk/lib/_internal/compiler/implementation/mirrors/mirrors_util.dar
t'; |
| 21 import '../../sdk/lib/_internal/compiler/implementation/source_file_provider.dar
t'; | 20 import '../../sdk/lib/_internal/compiler/implementation/source_file_provider.dar
t'; |
| 22 import '../../sdk/lib/_internal/dartdoc/lib/dartdoc.dart'; | 21 import '../../sdk/lib/_internal/dartdoc/lib/dartdoc.dart'; |
| 23 import '../../sdk/lib/html/html_common/metadata.dart'; | 22 import '../../sdk/lib/html/html_common/metadata.dart'; |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 return members; | 224 return members; |
| 226 } | 225 } |
| 227 | 226 |
| 228 if (name.split('.').length != 2) { | 227 if (name.split('.').length != 2) { |
| 229 warn('invalid member name ${name}'); | 228 warn('invalid member name ${name}'); |
| 230 return new Set(); | 229 return new Set(); |
| 231 } | 230 } |
| 232 return new Set.from([name]); | 231 return new Set.from([name]); |
| 233 } | 232 } |
| 234 } | 233 } |
| OLD | NEW |