diff --git a/lib/core/module_internal.dart b/lib/core/module_internal.dart index a024f1480..62de9715d 100644 --- a/lib/core/module_internal.dart +++ b/lib/core/module_internal.dart @@ -42,7 +42,7 @@ class CoreModule extends Module { bind(Interpolate); bind(RootScope); bind(Scope, toInstanceOf: RootScope); - bind(ClosureMap, toFactory: () => throw "Must provide dynamic/static ClosureMap.", inject: []); + bind(ClosureMap, toFactory: () => throw "Must provide dynamic/static ClosureMap."); bind(ScopeStats); bind(ScopeStatsEmitter); bind(ScopeStatsConfig); diff --git a/lib/directive/module.dart b/lib/directive/module.dart index f0f9a67d4..8b903d3cf 100644 --- a/lib/directive/module.dart +++ b/lib/directive/module.dart @@ -70,7 +70,7 @@ class DirectiveModule extends Module { bind(NgBind, toValue: null); bind(NgBindTemplate, toValue: null); bind(NgBindHtml, toValue: null); - bind(dom.NodeValidator, toFactory: () => new dom.NodeValidatorBuilder.common(), inject: []); + bind(dom.NodeValidator, toFactory: () => new dom.NodeValidatorBuilder.common()); bind(NgClass, toValue: null); bind(NgClassOdd, toValue: null); bind(NgClassEven, toValue: null); diff --git a/lib/directive/ng_bind_html.dart b/lib/directive/ng_bind_html.dart index a4c4faf40..24d1f1925 100644 --- a/lib/directive/ng_bind_html.dart +++ b/lib/directive/ng_bind_html.dart @@ -17,7 +17,7 @@ class NgBindHtml { final dom.Element element; final dom.NodeValidator validator; - NgBindHtml(this.element, dom.NodeValidator this.validator); + NgBindHtml(this.element, this.validator); /** * Parsed expression from the `ng-bind-html` attribute.  diff --git a/lib/mock/module.dart b/lib/mock/module.dart index 6978540d4..1c6574a56 100644 --- a/lib/mock/module.dart +++ b/lib/mock/module.dart @@ -67,7 +67,7 @@ class AngularMockModule extends Module { bind(VmTurnZone, toFactory: () { return new VmTurnZone() ..onError = (e, s, LongStackTrace ls) => dump('EXCEPTION: $e\n$s\n$ls'); - }, inject: []); + }); bind(Window, toImplementation: MockWindow); var mockPlatform = new MockWebPlatform(); bind(MockWebPlatform, toValue: mockPlatform); diff --git a/lib/perf/module.dart b/lib/perf/module.dart index 7ee7b4072..de8d9a5ee 100644 --- a/lib/perf/module.dart +++ b/lib/perf/module.dart @@ -22,6 +22,6 @@ part 'dev_tools_timeline.dart'; class PerfModule extends Module { PerfModule() { - bind(Profiler, toFactory: () => new Profiler(), inject: []); + bind(Profiler, toFactory: () => new Profiler()); } }