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

Unified Diff: pkg/polymer/lib/src/declaration.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
Index: pkg/polymer/lib/src/declaration.dart
diff --git a/pkg/polymer/lib/src/declaration.dart b/pkg/polymer/lib/src/declaration.dart
index c3eb0b540c5fe7f09f4efae621a42b6b749d5e54..e79f8bd9b88214d47ab6b8eb6dfc9c3474142dfa 100644
--- a/pkg/polymer/lib/src/declaration.dart
+++ b/pkg/polymer/lib/src/declaration.dart
@@ -448,7 +448,7 @@ String _cssTextFromSheet(LinkElement sheet) {
// In deploy mode we should never do a sync XHR; link rel=stylesheet will
// be inlined into a <style> tag by ImportInliner.
- if (_deployMode) return '';
+ if (loader.deployMode) return '';
// TODO(jmesserly): sometimes the href property is wrong after deployment.
var href = sheet.href;

Powered by Google App Engine
This is Rietveld 408576698