style(dart): Format Dart source with dart_style 0.1.8

This commit is contained in:
Tim Blasi
2015-05-29 10:42:47 -07:00
parent eb2784eb81
commit ffb219fb91
17 changed files with 190 additions and 171 deletions

View File

@ -1,2 +1,3 @@
library angular2.e2e_util;
// empty as this file is node.js specific and should not be transpiled to dart
// empty as this file is node.js specific and should not be transpiled to dart

View File

@ -24,24 +24,33 @@ Function fakeAsync(Function fn) {
}
return ([a0 = _u, a1 = _u, a2 = _u, a3 = _u, a4 = _u, a5 = _u, a6 = _u,
a7 = _u, a8 = _u, a9 = _u]) {
a7 = _u, a8 = _u, a9 = _u]) {
// runZoned() to install a custom exception handler that re-throws
return runZoned(() {
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();
return Function.apply(fn , args);
List args = [
a0,
a1,
a2,
a3,
a4,
a5,
a6,
a7,
a8,
a9
].takeWhile((a) => a != _u).toList();
return Function.apply(fn, args);
} finally {
_fakeAsync = null;
}
});
},
zoneSpecification: new ZoneSpecification(
handleUncaughtError: (self, parent, zone, error, stackTrace)
=> throw error
));
zoneSpecification: new ZoneSpecification(
handleUncaughtError: (self, parent, zone, error, stackTrace) =>
throw error));
};
}

View File

@ -1,2 +1,3 @@
library angular2.perf_util;
// empty as this file is node.js specific and should not be transpiled to dart
// empty as this file is node.js specific and should not be transpiled to dart