OLD | NEW |
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 } |
OLD | NEW |