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

Unified Diff: examples/js/users-guide.md

Issue 821403003: Changes magic sequence to '!#mojo ' and strips 'mojo ' when building url (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: two more Created 5 years, 11 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 | « examples/js/share_echo_target.js ('k') | examples/js/wget.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/js/users-guide.md
diff --git a/examples/js/users-guide.md b/examples/js/users-guide.md
index 52ee2b379394d87bf7457ff08093abd2c42cae23..33065bc359845058830800787e85fca28b8c0015 100644
--- a/examples/js/users-guide.md
+++ b/examples/js/users-guide.md
@@ -13,7 +13,7 @@ content handler. In other words, the first line of the JS source file
must be:
```javascript
-#!mojo:js_content_handler
+#!mojo mojo:js_content_handler
```
Following the shebang should be a single AMD module called "main" whose value
@@ -39,7 +39,7 @@ services of its own.
This is the overall structure of a JS Mojo application:
```javascript
-#!mojo:js_content_handler
+#!mojo mojo:js_content_handler
define("main", ["mojo/services/public/js/application",
<list of other modules that this application depends on>
@@ -430,7 +430,7 @@ can use the application's shell to get an EchoService proxy. Here's a
complete application:
```javascript
-#!mojo:js_content_handler
+#!mojo mojo:js_content_handler
define("main", [
"console",
@@ -467,7 +467,7 @@ A complete application that unconditionally provides the EchoService
looks like this:
```javascript
-#!mojo:js_content_handler
+#!mojo mojo:js_content_handler
define("main", [
"mojo/services/public/js/application",
« no previous file with comments | « examples/js/share_echo_target.js ('k') | examples/js/wget.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698