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

Unified Diff: pkg/code_transformers/lib/assets.dart

Issue 293023008: Bring back initPolymer, allow boot.js only if using "polymer_experimental.html". (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 7 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 | pkg/pkg.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/code_transformers/lib/assets.dart
diff --git a/pkg/code_transformers/lib/assets.dart b/pkg/code_transformers/lib/assets.dart
index 4bafc268c6c48623ed9bab4c467c807234053492..9a76c876651476da3bd25a150d48a75575f0941c 100644
--- a/pkg/code_transformers/lib/assets.dart
+++ b/pkg/code_transformers/lib/assets.dart
@@ -64,6 +64,8 @@ AssetId uriToAssetId(AssetId source, String url, TransformLogger logger,
// web/, test/, example/, etc) are resolved as an asset in another
// package. 'packages' can be used anywhere, there is no need to walk up
// where the entrypoint file was.
+ // TODO(sigmund): this needs to change: Only resolve when index == 1 &&
+ // topFolder == segment[0], otherwise give a warning (dartbug.com/17596).
return _extractOtherPackageId(index, segments, logger, span);
} else if (index == 1 && segments[0] == '..') {
// Relative URLs of the form "../../packages/foo/bar" in an asset under
« no previous file with comments | « no previous file | pkg/pkg.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698