| Index: lib/src/static_loader.dart
|
| diff --git a/lib/src/static_loader.dart b/lib/src/static_loader.dart
|
| index 11980faea7fb73e30a4f3bf7b46bacc15d0622e0..edc679ba578232434665616be0bac776acf5f5bb 100644
|
| --- a/lib/src/static_loader.dart
|
| +++ b/lib/src/static_loader.dart
|
| @@ -24,7 +24,10 @@ Queue<InitEntry> initializers = new Queue<InitEntry>();
|
| /// Returns initializer functions matching the supplied filters and removes them
|
| /// from `initializers` so they won't be ran again.
|
| Queue<Function> loadInitializers(
|
| - {List<Type> typeFilter, InitializerFilter customFilter}) {
|
| + {List<Type> typeFilter, InitializerFilter customFilter, Uri from}) {
|
| + if (from != null) {
|
| + throw 'The `from` option is not supported in deploy mode.';
|
| + }
|
| Queue<Function> result = new Queue<Function>();
|
|
|
| var matchesFilters = (initializer) {
|
|
|