Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

refactor: misc cleanup #1395

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/core/module_internal.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion lib/directive/module.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion lib/directive/ng_bind_html.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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. 
Expand Down
2 changes: 1 addition & 1 deletion lib/mock/module.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion lib/perf/module.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
}