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

Side by Side Diff: examples/js/world.js

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 unified diff | Download patch
« no previous file with comments | « examples/js/wget.js ('k') | examples/recipes/recipe_handler/sample » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!mojo:js_content_handler 1 #!mojo mojo:js_content_handler
2 // See hello.js. 2 // See hello.js.
3 define("main", [ 3 define("main", [
4 "console", 4 "console",
5 "mojo/services/public/js/application", 5 "mojo/services/public/js/application",
6 ], function(console, application) { 6 ], function(console, application) {
7 7
8 var Application = application.Application; 8 var Application = application.Application;
9 9
10 class World extends Application { 10 class World extends Application {
11 initialize(args) { 11 initialize(args) {
12 console.log(this.url + ": World"); 12 console.log(this.url + ": World");
13 this.quit(); 13 this.quit();
14 } 14 }
15 } 15 }
16 16
17 return World; 17 return World;
18 }); 18 });
OLDNEW
« no previous file with comments | « examples/js/wget.js ('k') | examples/recipes/recipe_handler/sample » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698