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

Unified Diff: pkg/polymer/test/build/common.dart

Issue 676313004: fix bug where dart_support.js could get included above platform.js (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: update pubspec/changelog Created 6 years, 2 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 | « pkg/polymer/pubspec.yaml ('k') | pkg/polymer/test/build/polyfill_injector_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/polymer/test/build/common.dart
diff --git a/pkg/polymer/test/build/common.dart b/pkg/polymer/test/build/common.dart
index eed4c20069b4df310cb44b963dbfe5426a0dfc64..3eaa805a87c1a604129af19991713c3eecebd6d8 100644
--- a/pkg/polymer/test/build/common.dart
+++ b/pkg/polymer/test/build/common.dart
@@ -199,11 +199,12 @@ String expectedData(List<String> urls, {package: 'a', experimental: false}) {
const EMPTY_DATA = '{"experimental_bootstrap":false,"script_ids":[]}';
-const WEB_COMPONENTS_TAG =
- '<script src="packages/web_components/platform.js"></script>\n'
- '<script src="packages/web_components/dart_support.js"></script>\n';
const DART_SUPPORT_TAG =
'<script src="packages/web_components/dart_support.js"></script>\n';
+const PLATFORM_JS_TAG =
+ '<script src="packages/web_components/platform.js"></script>\n';
+const WEB_COMPONENTS_TAG =
+ '$PLATFORM_JS_TAG$DART_SUPPORT_TAG';
const INTEROP_TAG = '<script src="packages/browser/interop.js"></script>\n';
const DART_JS_TAG = '<script src="packages/browser/dart.js"></script>';
« no previous file with comments | « pkg/polymer/pubspec.yaml ('k') | pkg/polymer/test/build/polyfill_injector_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698