diff --git a/modules/angular2/pubspec.yaml b/modules/angular2/pubspec.yaml index c58ecffc9b..c0b7d76030 100644 --- a/modules/angular2/pubspec.yaml +++ b/modules/angular2/pubspec.yaml @@ -12,7 +12,7 @@ dependencies: analyzer: '>=0.24.4 <0.26.0' barback: '^0.15.2+2' code_transformers: '^0.2.8' - dart_style: '^0.1.3' + dart_style: '^0.1.8' html: '^0.12.0' logging: '>=0.9.0 <0.12.0' source_span: '^1.0.0' diff --git a/modules/angular2/src/dom/parse5_adapter.dart b/modules/angular2/src/dom/parse5_adapter.dart index cd31f8dca8..615105394f 100644 --- a/modules/angular2/src/dom/parse5_adapter.dart +++ b/modules/angular2/src/dom/parse5_adapter.dart @@ -1,2 +1,3 @@ library angular2.src.dom.parse5_adapter; -// no dart implementation \ No newline at end of file + +// no dart implementation diff --git a/modules/angular2/src/test_lib/fake_async.dart b/modules/angular2/src/test_lib/fake_async.dart index 9d4074046f..c7b05e0650 100644 --- a/modules/angular2/src/test_lib/fake_async.dart +++ b/modules/angular2/src/test_lib/fake_async.dart @@ -30,8 +30,18 @@ Function fakeAsync(Function fn) { return new quiver.FakeAsync().run((quiver.FakeAsync async) { try { _fakeAsync = async; - List args = [a0, a1, a2, a3, a4, a5, a6, a7, a8, a9] - .takeWhile((a) => a != _u).toList(); + List args = [ + a0, + a1, + a2, + a3, + a4, + a5, + a6, + a7, + a8, + a9 + ].takeWhile((a) => a != _u).toList(); var res = Function.apply(fn, args); _fakeAsync.flushMicrotasks(); diff --git a/modules/angular2/test/transform/directive_metadata_extractor/directive_metadata_files/directive_export_as.ng_deps.dart b/modules/angular2/test/transform/directive_metadata_extractor/directive_metadata_files/directive_export_as.ng_deps.dart index 5b46d20b98..8c414c9998 100644 --- a/modules/angular2/test/transform/directive_metadata_extractor/directive_metadata_files/directive_export_as.ng_deps.dart +++ b/modules/angular2/test/transform/directive_metadata_extractor/directive_metadata_files/directive_export_as.ng_deps.dart @@ -2,7 +2,17 @@ library examples.hello_world.index_common_dart.ng_deps.dart; import 'hello.dart'; import 'package:angular2/angular2.dart' - show bootstrap, Component, Directive, View, NgElement, onChange, onDestroy, onInit, onCheck, onAllChangesDone; + show + bootstrap, + Component, + Directive, + View, + NgElement, + onChange, + onDestroy, + onInit, + onCheck, + onAllChangesDone; var _visited = false; void initReflector(reflector) { @@ -12,8 +22,6 @@ void initReflector(reflector) { ..registerType(HelloCmp, { 'factory': () => new HelloCmp(), 'parameters': const [const []], - 'annotations': const [ - const Directive(exportAs: 'exportAsName') - ] + 'annotations': const [const Directive(exportAs: 'exportAsName')] }); }