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

Unified Diff: pkg/polymer/lib/src/loader.dart

Issue 173003006: Use smoke in polymer and polymer_expressions. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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/loader.dart
diff --git a/pkg/polymer/lib/src/loader.dart b/pkg/polymer/lib/src/loader.dart
index f610c4e5ae5915745dde11b98d7036597f210825..73ee5f26e0fb906e02fa33c839c8e2c109752998 100644
--- a/pkg/polymer/lib/src/loader.dart
+++ b/pkg/polymer/lib/src/loader.dart
@@ -50,6 +50,8 @@ Zone initPolymer() {
* mirrors.
*/
Zone initPolymerOptimized() {
+ // TODO(sigmund): refactor this so we can replace it by codegen.
+ smoke.useMirrors();
// TODO(jmesserly): there is some code in src/declaration/polymer-element.js,
// git version 37eea00e13b9f86ab21c85a955585e8e4237e3d2, right before
// it registers polymer-element, which uses Platform.deliverDeclarations to

Powered by Google App Engine
This is Rietveld 408576698