refactor(dart): Run dartfmt 0.1.8
Format Dart code using dartfmt 0.1.8. Update pubspec to require dart_style 0.1.8.
This commit is contained in:
parent
13d0815839
commit
851797aecb
|
@ -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'
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
library angular2.src.dom.parse5_adapter;
|
||||
// no dart implementation
|
||||
|
||||
// no dart implementation
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
|
@ -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')]
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue