| Index: lib/runtime/run.js
|
| diff --git a/lib/runtime/run.js b/lib/runtime/run.js
|
| deleted file mode 100644
|
| index f1cbaa9a1ef7229d024d5ac5ddc6aea25c901d7e..0000000000000000000000000000000000000000
|
| --- a/lib/runtime/run.js
|
| +++ /dev/null
|
| @@ -1,22 +0,0 @@
|
| -// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -var fs = require('fs');
|
| -var vm = require('vm');
|
| -
|
| -function __load(path) {
|
| - var data = fs.readFileSync(path);
|
| - var script = vm.createScript(data.toString(), path);
|
| - script.runInThisContext();
|
| -}
|
| -
|
| -var args = process.argv.slice(2);
|
| -var argc = args.length;
|
| -
|
| -for (var i = 0; i < argc-1; ++i) {
|
| - __load(args[i]);
|
| -}
|
| -
|
| -var main = vm.createScript(args[argc-1] + '.main()', 'main');
|
| -main.runInThisContext();
|
|
|