OLD | NEW |
| (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 anda rem ove the assignment in | |
17 // configureForDevelopment when our testing infrastructure supports calling pub | |
18 // build. | |
19 bool deployMode = true; | |
OLD | NEW |