|
8 | 8 | "_id": "155141e40312cd8", |
9 | 9 | "component": "_ClassInfo", |
10 | 10 | "state": "collection", |
11 | | - "action": "(name) => {\n var result = {};\n if (this.schema()[name] === 'collection') {\n result = this.model()[name];\n }\n\n return result;\n};", |
| 11 | + "action": "function collection(name) {\n var result = {};\n if (this.schema()[name] === 'collection') {\n result = this.model()[name];\n }\n\n return result;\n}", |
12 | 12 | "core": true |
13 | 13 | }, |
14 | 14 | "1f6941a0c012c1f": { |
15 | 15 | "_id": "1f6941a0c012c1f", |
16 | 16 | "component": "_ClassInfo", |
17 | 17 | "state": "collections", |
18 | | - "action": "(name) => {\n var keys = Object.keys(this.schema()),\n item = '',\n result = [],\n i = 0,\n length = keys.length;\n\n for (i = 0; i < length; i++) {\n item = keys[i];\n if (this.schema()[item] === 'collection') {\n result.push(item);\n }\n }\n\n return result;\n};", |
| 18 | + "action": "function collections(name) {\n var keys = Object.keys(this.schema()),\n item = '',\n result = [],\n i = 0,\n length = keys.length;\n\n for (i = 0; i < length; i++) {\n item = keys[i];\n if (this.schema()[item] === 'collection') {\n result.push(item);\n }\n }\n\n return result;\n}", |
19 | 19 | "core": true |
20 | 20 | }, |
21 | 21 | "1ef711b4171c849": { |
22 | 22 | "_id": "1ef711b4171c849", |
23 | 23 | "component": "_ClassInfo", |
24 | 24 | "state": "event", |
25 | | - "action": "(name) => {\n var result = {};\n\n if (this.schema()[name] === 'event') {\n result = this.model()[name];\n }\n\n return result;\n}", |
| 25 | + "action": "function event(name) {\n var result = {};\n\n if (this.schema()[name] === 'event') {\n result = this.model()[name];\n }\n\n return result;\n}", |
26 | 26 | "core": true |
27 | 27 | }, |
28 | 28 | "1bae51b6ed1d25c": { |
29 | 29 | "_id": "1bae51b6ed1d25c", |
30 | 30 | "component": "_ClassInfo", |
31 | 31 | "state": "events", |
32 | | - "action": "(name) => {\n var keys = Object.keys(this.schema()),\n item = '',\n result = [],\n i = 0,\n length = keys.length;\n\n for (i = 0; i < length; i++) {\n item = keys[i];\n if (this.schema()[item] === 'event') {\n result.push(item);\n }\n }\n return result;\n};", |
| 32 | + "action": "function events(name) {\n var keys = Object.keys(this.schema()),\n item = '',\n result = [],\n i = 0,\n length = keys.length;\n\n for (i = 0; i < length; i++) {\n item = keys[i];\n if (this.schema()[item] === 'event') {\n result.push(item);\n }\n }\n return result;\n}", |
33 | 33 | "core": true |
34 | 34 | }, |
35 | 35 | "19ac2125221528b": { |
36 | 36 | "_id": "19ac2125221528b", |
37 | 37 | "component": "_ClassInfo", |
38 | 38 | "state": "link", |
39 | | - "action": "(name) => {\n var result = {};\n\n if (this.schema()[name] === 'link') {\n result = this.model()[name];\n }\n return result;\n}", |
| 39 | + "action": "function link(name) {\n var result = {};\n\n if (this.schema()[name] === 'link') {\n result = this.model()[name];\n }\n return result;\n}", |
40 | 40 | "core": true |
41 | 41 | }, |
42 | 42 | "17ed21dfc01b8e8": { |
43 | 43 | "_id": "17ed21dfc01b8e8", |
44 | 44 | "component": "_ClassInfo", |
45 | 45 | "state": "links", |
46 | | - "action": "(name) => {\n var keys = Object.keys(this.schema()),\n item = '',\n result = [],\n i = 0,\n length = keys.length;\n\n for (i = 0; i < length; i++) {\n item = keys[i];\n if (this.schema()[item] === 'link') {\n result.push(item);\n }\n } return result;\n};", |
| 46 | + "action": "function links(name) {\n var keys = Object.keys(this.schema()),\n item = '',\n result = [],\n i = 0,\n length = keys.length;\n\n for (i = 0; i < length; i++) {\n item = keys[i];\n if (this.schema()[item] === 'link') {\n result.push(item);\n }\n } return result;\n}", |
47 | 47 | "core": true |
48 | 48 | }, |
49 | 49 | "11ce318a561ac61": { |
50 | 50 | "_id": "11ce318a561ac61", |
51 | 51 | "component": "_ClassInfo", |
52 | 52 | "state": "method", |
53 | | - "action": "(name) => {\n var result = {};\n if (this.schema()[name] === 'method') {\n result = this.model()[name];\n }\n \n return result;\n}", |
| 53 | + "action": "function method(name) {\n var result = {};\n if (this.schema()[name] === 'method') {\n result = this.model()[name];\n }\n \n return result;\n}", |
54 | 54 | "core": true |
55 | 55 | }, |
56 | 56 | "12ff2190a018046": { |
57 | 57 | "_id": "12ff2190a018046", |
58 | 58 | "component": "_ClassInfo", |
59 | 59 | "state": "methods", |
60 | | - "action": "(name) => {\n var keys = Object.keys(this.schema()),\n item = '',\n result = [],\n i = 0,\n length = keys.length;\n\n for (i = 0; i < length; i++) {\n item = keys[i];\n if (this.schema()[item] === 'method') {\n result.push(item);\n }\n }\n\n return result;\n};", |
| 60 | + "action": "function methods(name) {\n var keys = Object.keys(this.schema()),\n item = '',\n result = [],\n i = 0,\n length = keys.length;\n\n for (i = 0; i < length; i++) {\n item = keys[i];\n if (this.schema()[item] === 'method') {\n result.push(item);\n }\n }\n\n return result;\n}", |
61 | 61 | "core": true |
62 | 62 | }, |
63 | 63 | "1028d1681e1fd58": { |
64 | 64 | "_id": "1028d1681e1fd58", |
65 | 65 | "component": "_ClassInfo", |
66 | 66 | "state": "properties", |
67 | | - "action": "(name) => {\n var keys = Object.keys(this.schema()),\n item = '',\n result = [],\n i = 0,\n length = keys.length;\n\n for (i = 0; i < length; i++) {\n item = keys[i];\n if (this.schema()[item] === 'property') {\n result.push(item);\n }\n } return result;\n};", |
| 67 | + "action": "function properties(name) {\n var keys = Object.keys(this.schema()),\n item = '',\n result = [],\n i = 0,\n length = keys.length;\n\n for (i = 0; i < length; i++) {\n item = keys[i];\n if (this.schema()[item] === 'property') {\n result.push(item);\n }\n } return result;\n}", |
68 | 68 | "core": true |
69 | 69 | }, |
70 | 70 | "18eeb10c5319368": { |
71 | 71 | "_id": "18eeb10c5319368", |
72 | 72 | "component": "_ClassInfo", |
73 | 73 | "state": "property", |
74 | | - "action": "(name) => {\n var result = {};\n\n if (this.schema()[name] === 'property') {\n result = this.model()[name];\n }\n return result;\n};", |
| 74 | + "action": "function property(name) {\n var result = {};\n\n if (this.schema()[name] === 'property') {\n result = this.model()[name];\n }\n return result;\n}", |
75 | 75 | "core": true |
76 | 76 | } |
77 | 77 | }, |
|
0 commit comments