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

Unified Diff: tools/json_schema_compiler/model.py

Issue 12330089: JSON compiler to include "customBindings" in the function name. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 7 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/json_schema_compiler/cpp_bundle_generator.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « tools/json_schema_compiler/cpp_bundle_generator.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698