Commit eaf7e568 authored by jyasskin@chromium.org's avatar jyasskin@chromium.org

Avoid hacking on the case of a typename.

This allows me to mention the ImageData type without it being transformed to
"imagedata".  It may have some side-effects where we've been sloppy with
typenames elsewhere, but let me know if you see any, and I'll fix them.

Review URL: https://codereview.chromium.org/132203009

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244332 0039d316-1c4b-4281-b951-d872f2087c98
parent a637d438
......@@ -323,9 +323,9 @@ class _JSCModel(object):
if len(dst_dict['enum_values']) > 0:
dst_dict['enum_values'][-1]['last'] = True
elif type_.instance_of is not None:
dst_dict['simple_type'] = type_.instance_of.lower()
dst_dict['simple_type'] = type_.instance_of
else:
dst_dict['simple_type'] = type_.property_type.name.lower()
dst_dict['simple_type'] = type_.property_type.name
def _GetIntroTableList(self):
'''Create a generic data structure that can be traversed by the templates
......
application: chrome-apps-doc
version: 3-0-3
version: 3-0-4
runtime: python27
api_version: 1
threadsafe: false
......
......@@ -2,4 +2,4 @@ cron:
- description: Repopulates all cached data.
url: /_cron
schedule: every 5 minutes
target: 3-0-3
target: 3-0-4
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment