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

Unified Diff: lib/runtime/run.js

Issue 1002443002: minor code cleanup (Closed) Base URL: git@github.com:dart-lang/dart-dev-compiler.git@master
Patch Set: Created 5 years, 9 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/runtime/dart_runtime.js ('k') | test/codegen/expect/server_mode/dev_compiler/runtime/dart_runtime.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/run.js
diff --git a/lib/runtime/run.js b/lib/runtime/run.js
index 28dded8c3ceeac9a021cb85b9fd6c55b8511c34b..f1cbaa9a1ef7229d024d5ac5ddc6aea25c901d7e 100644
--- a/lib/runtime/run.js
+++ b/lib/runtime/run.js
@@ -14,11 +14,9 @@ function __load(path) {
var args = process.argv.slice(2);
var argc = args.length;
-for(var i = 0; i < argc-1; ++i) {
+for (var i = 0; i < argc-1; ++i) {
__load(args[i]);
}
-var main = vm.createScript(args[argc-1]+'.main()', 'main');
+var main = vm.createScript(args[argc-1] + '.main()', 'main');
main.runInThisContext();
-
-
« no previous file with comments | « lib/runtime/dart_runtime.js ('k') | test/codegen/expect/server_mode/dev_compiler/runtime/dart_runtime.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698