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

Side by Side Diff: services/js/test/pingpong_target.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 | « services/js/test/pingpong.js ('k') | shell/dynamic_application_loader.cc » ('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 2
3 define("main", [ 3 define("main", [
4 "mojo/services/public/js/application", 4 "mojo/services/public/js/application",
5 "services/js/test/pingpong_service.mojom", 5 "services/js/test/pingpong_service.mojom",
6 ], function(application, pingPongServiceMojom) { 6 ], function(application, pingPongServiceMojom) {
7 7
8 const Application = application.Application; 8 const Application = application.Application;
9 const PingPongService = pingPongServiceMojom.PingPongService; 9 const PingPongService = pingPongServiceMojom.PingPongService;
10 10
11 class PingPongServiceImpl { 11 class PingPongServiceImpl {
(...skipping 11 matching lines...) Expand all
23 23
24 class PingPongTarget extends Application { 24 class PingPongTarget extends Application {
25 acceptConnection(url, serviceProvider) { 25 acceptConnection(url, serviceProvider) {
26 serviceProvider.provideService( 26 serviceProvider.provideService(
27 PingPongService, PingPongServiceImpl.bind(null, this)); 27 PingPongService, PingPongServiceImpl.bind(null, this));
28 } 28 }
29 } 29 }
30 30
31 return PingPongTarget; 31 return PingPongTarget;
32 }); 32 });
OLDNEW
« no previous file with comments | « services/js/test/pingpong.js ('k') | shell/dynamic_application_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698