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

Unified Diff: mojo/apps/js/main.js

Issue 668483002: Change mojo URLs from mojo://mojo_foo to mojo://foo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 2 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 | « no previous file | mojo/aura/surface_binding.cc » ('j') | mojo/shell/mojo_url_resolver.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/apps/js/main.js
diff --git a/mojo/apps/js/main.js b/mojo/apps/js/main.js
index 3a44f04f5c7a95d1b2c82356b20e364057c5cda1..f8be85c3f77cf85c9564b63b42a05f04a40ab1fe 100644
--- a/mojo/apps/js/main.js
+++ b/mojo/apps/js/main.js
@@ -6,13 +6,13 @@
// services and then prints a brief summary of the response.
//
// To run it using mojo_js_standalone (don't forget the quotes):
-// mojo_shell 'mojo://mojo_js_standalone THIS_DIR/main.js'
+// mojo_shell 'mojo://js_standalone THIS_DIR/main.js'
//
// To run it using mojo_js_content handler this file must be specified as
// a URL. For example:
// (cd YOUR_DIR/mojo/apps/js; python -m SimpleHTTPServer ) &
// mojo_shell \
-// --content-handlers=application/javascript,mojo://mojo_js_content_handler \
+// --content-handlers=application/javascript,mojo://js_content_handler \
// http://localhost:8000/test.js
define("test", [
@@ -26,7 +26,7 @@ define("test", [
], function(mojo, core, connection, support, net, loader, console) {
var networkService = mojo.connectToService(
- "mojo:mojo_network_service", net.NetworkService);
+ "mojo:network_service", net.NetworkService);
var urlLoaderPipe = core.createMessagePipe();
networkService.createURLLoader(urlLoaderPipe.handle1);
« no previous file with comments | « no previous file | mojo/aura/surface_binding.cc » ('j') | mojo/shell/mojo_url_resolver.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698