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

Side by Side Diff: pkg/polymer/lib/src/static_loader.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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « pkg/polymer/lib/src/mirror_loader.dart ('k') | pkg/polymer/pubspec.yaml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file.
4
5 /// Alternative implementation for loading initializers that avoids using
6 /// mirrors. Unlike `mirror_loader` this is used for deployed applications to
7 /// avoid any dependence on the mirror system.
8 library polymer.src.static_loader;
9
10 /// Set of initializers that are invoked by `initPolymer`. This is initialized
11 /// with code automatically generated by the polymer transformers. The
12 /// initialization code is injected in the entrypoint of the application.
13 List<Function> initializers;
14
15 /// True if we're in deployment mode.
16 // TODO(sigmund): make this a const and remove the assignment in
17 // configureForDevelopment when our testing infrastructure supports calling pub
18 // build.
19 bool deployMode = true;
OLDNEW
« no previous file with comments | « pkg/polymer/lib/src/mirror_loader.dart ('k') | pkg/polymer/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698