Index: pkg/dartdoc/dartdoc.dart |
diff --git a/pkg/dartdoc/dartdoc.dart b/pkg/dartdoc/dartdoc.dart |
index d68f40abad88ed52ce1ba18d1c8ba75bf3e5123f..bd212bbfef676da66f45aa85cda05ba07931911e 100644 |
--- a/pkg/dartdoc/dartdoc.dart |
+++ b/pkg/dartdoc/dartdoc.dart |
@@ -231,8 +231,9 @@ Path get scriptDir() => |
// TODO(johnniwinther): Trailing slashes matter due to the use of [libPath] as |
// a base URI with [Uri.resolve]. |
+/// Relative path to the library in which dart2js resides. |
Path get libPath() => IN_SDK |
- ? scriptDir.append('../dart2js/') |
+ ? scriptDir.append('../../lib/dart2js/') |
: scriptDir.append('../../'); |
/** |