Chromium Code Reviews| Index: tools/json_schema_compiler/model.py |
| =================================================================== |
| --- tools/json_schema_compiler/model.py (revision 182503) |
| +++ tools/json_schema_compiler/model.py (working copy) |
| @@ -117,6 +117,7 @@ |
| self.origin = origin |
| self.parent = parent |
| self.instance_of = json.get('isInstanceOf', None) |
| + self.custom_bindings = json.get('customBindings', None) |
|
not at google - send to devlin
2013/02/23 00:13:07
what is this change for?
SanjoyPal
2013/02/23 00:19:35
Otherwise i am not able to access type_.custom_bin
not at google - send to devlin
2013/02/23 00:22:55
I had no idea we had that. We shouldn't.
The fix
|
| # TODO(kalman): Only objects need functions/events/properties, but callers |
| # assume that all types have them. Fix this. |