Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(637)

Unified Diff: lib/src/runner/v8_runner.dart

Issue 1268813003: format with dart_style 0.2.0 (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/src/runner/runtime_utils.dart ('k') | lib/src/server/dependency_graph.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/runner/v8_runner.dart
diff --git a/lib/src/runner/v8_runner.dart b/lib/src/runner/v8_runner.dart
index ee7a32f79348c9674b65a64084330a356ea202ea..dde6eb8784c387967215af088ae1a60c069949fc 100644
--- a/lib/src/runner/v8_runner.dart
+++ b/lib/src/runner/v8_runner.dart
@@ -50,7 +50,8 @@ abstract class V8Runner {
String get _v8Binary => _options.runnerOptions.v8Binary;
Future<Process> start(List<File> files, String startStatement) =>
- Process.start(_v8Binary,
+ Process.start(
+ _v8Binary,
[
"--harmony_arrow_functions",
"--harmony_classes",
@@ -59,7 +60,8 @@ abstract class V8Runner {
"--harmony_object_literals",
"--harmony_rest_parameters",
"--harmony_spreadcalls",
- "-e", _GLOBALS + _getLoadStatements(files).join() + startStatement
+ "-e",
+ _GLOBALS + _getLoadStatements(files).join() + startStatement
],
workingDirectory: _options.codegenOptions.outputDir);
@@ -100,7 +102,8 @@ class _NodeRunner extends V8Runner {
@override
_getLoadStatements(List<File> files) => files.map((file) {
- String alias = getRuntimeFileAlias(_options, file);
- return (alias != null ? 'var $alias = ' : '') + 'require("${file.path}");';
- });
+ String alias = getRuntimeFileAlias(_options, file);
+ return (alias != null ? 'var $alias = ' : '') +
+ 'require("${file.path}");';
+ });
}
« no previous file with comments | « lib/src/runner/runtime_utils.dart ('k') | lib/src/server/dependency_graph.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698