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

Side by Side Diff: examples/recipes/recipe_handler/sample

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/world.js ('k') | examples/window_manager/debug_panel.sky » ('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:recipe_handler 1 #!mojo mojo:recipe_handler
2 { 2 {
3 // URL of the app responsible for rendering this recipe. 3 // URL of the app responsible for rendering this recipe.
4 "renderer" : "mojo:bar", 4 "renderer" : "mojo:bar",
5 5
6 // Set of ingredients that comprise this recipe. The recipe connects to each 6 // Set of ingredients that comprise this recipe. The recipe connects to each
7 // of the apps listed here. 7 // of the apps listed here.
8 "ingredients": [ 8 "ingredients": [
9 { 9 {
10 "url": "mojo:foo", 10 "url": "mojo:foo",
11 // TODO(sky): add some way to constrain set of values an ingredient sees. 11 // TODO(sky): add some way to constrain set of values an ingredient sees.
12 }, 12 },
13 ], 13 ],
14 14
15 // Set of key/value pairs that are exposed to all ingredients by way of 15 // Set of key/value pairs that are exposed to all ingredients by way of
16 // RecipeValueStore. 16 // RecipeValueStore.
17 "values": { 17 "values": {
18 "key": "value", 18 "key": "value",
19 }, 19 },
20 } 20 }
OLDNEW
« no previous file with comments | « examples/js/world.js ('k') | examples/window_manager/debug_panel.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698