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

Side by Side Diff: tools/json_schema_compiler/test/functions_as_parameters.json

Issue 10824002: JSON Schema Compiler supports functions as PropertyTypes. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 4 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
OLDNEW
(Empty)
1 [
2 {
3 "namespace": "functions_as_parameters",
4 "types": [
5 {
6 "id": "FunctionType",
7 "type": "object",
8 "properties": {
9 "event_callback": {
10 "type": "function",
11 "parameters": { }
12 }
13 }
14 },
15 {
16 "id": "OptionalFunctionType",
17 "type": "object",
18 "properties": {
19 "event_callback": {
20 "type": "function",
21 "optional": true,
22 "parameters": { }
23 }
24 }
25 }
26 ]
27 }
28 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698