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

Unified Diff: examples/js/README.md

Issue 788863003: Restore the JS Spinning Cube demo (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Changes per review feedback Created 6 years 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 | « no previous file | examples/js/cube.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/js/README.md
diff --git a/examples/js/README.md b/examples/js/README.md
index 586772a5ccc909c35586000f7c60bfe04d732cdb..3dcee697207675ec0077a31c276c52bd0e274f92 100644
--- a/examples/js/README.md
+++ b/examples/js/README.md
@@ -5,6 +5,7 @@ hello.js, world.js - A minimal application that connects to another.
wget.js - Uses the network service to load a URL.
+cube.js - A JS version of examples/sample_app.
--- Running Mojo Applications ---
@@ -12,10 +13,11 @@ A Mojo application written in JavaScript is launched with mojo_shell like this:
mojo_shell <js-application-url>
-Where js-application-url is either a file or an http URL that names a JS source
-file. The JS file itself must begin with a Mojo "shebang" that specifies the
-Mojo URL of the JS content handler. In other words, the first line of the JS
-source file must be:
+Where js-application-url is a URL understood by the shell. For example
+a file or an http URL that names a JS source file. The JS file itself
+must begin with a Mojo "shebang" that specifies the Mojo URL of the JS
+content handler. In other words, the first line of the JS source file
+must be:
#!mojo:js_content_handler
« no previous file with comments | « no previous file | examples/js/cube.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698