Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(957)

Unified Diff: pkg/dartdoc/dartdoc.dart

Issue 10832408: Fix dartdoc to dart2js path in SDK (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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('../../');
/**
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698