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

Unified Diff: pkg/polymer/lib/src/build/polyfill_injector.dart

Issue 330683003: Use dart.js in release mode to workaround dartbug.com/19653 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 6 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/CHANGELOG.md ('k') | pkg/polymer/pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/polymer/lib/src/build/polyfill_injector.dart
diff --git a/pkg/polymer/lib/src/build/polyfill_injector.dart b/pkg/polymer/lib/src/build/polyfill_injector.dart
index 2f20a526f68148f2024461aa300e09b8498ac66a..baabe102bc3a1a6161248027c8413867af320098 100644
--- a/pkg/polymer/lib/src/build/polyfill_injector.dart
+++ b/pkg/polymer/lib/src/build/polyfill_injector.dart
@@ -78,6 +78,9 @@ class PolyfillInjector extends Transformer with PolymerTransformer {
if (src.endsWith('.dart')) {
script.attributes.remove('type');
script.attributes['src'] = '$src$csp.js';
+ // TODO(sigmund): we shouldn't need 'async' here. Remove this
+ // workaround for dartbug.com/19653.
+ script.attributes['async'] = '';
}
}
} else {
« no previous file with comments | « pkg/polymer/CHANGELOG.md ('k') | pkg/polymer/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698