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

Unified Diff: test/command/hello.js

Issue 1886393003: add command test, fix relative paths (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 8 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 | « test/command/hello.dart ('k') | test/command/hello.js.map » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/command/hello.js
diff --git a/test/command/hello.js b/test/command/hello.js
new file mode 100644
index 0000000000000000000000000000000000000000..e8e040388792f65cbc058a1c12c820f4fec09d84
--- /dev/null
+++ b/test/command/hello.js
@@ -0,0 +1,17 @@
+dart_library.library('hello', null, /* Imports */[
+ 'dart_sdk'
+], function(exports, dart_sdk) {
+ 'use strict';
+ const core = dart_sdk.core;
+ const dart = dart_sdk.dart;
+ const dartx = dart_sdk.dartx;
+ const hello = Object.create(null);
+ hello.main = function() {
+ return core.print('hello!');
+ };
+ dart.fn(hello.main);
+ // Exports:
+ exports.hello = hello;
+});
+
+//# sourceMappingURL=hello.js.map
« no previous file with comments | « test/command/hello.dart ('k') | test/command/hello.js.map » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698