| Index: tools/dom/docs/lib/docs.dart
|
| diff --git a/tools/dom/docs/lib/docs.dart b/tools/dom/docs/lib/docs.dart
|
| index a05bd29538fba31a6d8b6c8da1ed49bc39436c9c..190a679fa190f25391a123512fad9f4704654e57 100644
|
| --- a/tools/dom/docs/lib/docs.dart
|
| +++ b/tools/dom/docs/lib/docs.dart
|
| @@ -27,7 +27,7 @@ const List<String> HTML_LIBRARY_NAMES = const ['dart:html',
|
| 'dart:web_sql'];
|
| /**
|
| * Converts the libraries in [HTML_LIBRARY_NAMES] to a json file at [jsonPath]
|
| - * given the library path at [libPath].
|
| + * given the library path at [libUri].
|
| *
|
| * The json output looks like:
|
| * {
|
| @@ -51,13 +51,13 @@ const List<String> HTML_LIBRARY_NAMES = const ['dart:html',
|
| *
|
| * Completes to `true` if any errors were encountered, `false` otherwise.
|
| */
|
| -Future<bool> convert(String libPath, String jsonPath) {
|
| +Future<bool> convert(String libUri, String jsonPath) {
|
| var paths = <String>[];
|
| for (var libraryName in HTML_LIBRARY_NAMES) {
|
| paths.add(libraryName);
|
| }
|
|
|
| - return analyze(paths, libPath, options: ['--preserve-comments'])
|
| + return analyze(paths, libUri, options: ['--preserve-comments'])
|
| .then((MirrorSystem mirrors) {
|
| var convertedJson = _generateJsonFromLibraries(mirrors);
|
| return _exportJsonToFile(convertedJson, jsonPath);
|
|
|