Index: tools/json_schema_compiler/js_util.py |
diff --git a/tools/json_schema_compiler/js_util.py b/tools/json_schema_compiler/js_util.py |
index e563b8889af0bcf03a980cdda55b42f88dfb5d30..2549aefa2fae4966eee2c0f1fe4fef67667b82a7 100644 |
--- a/tools/json_schema_compiler/js_util.py |
+++ b/tools/json_schema_compiler/js_util.py |
@@ -101,18 +101,6 @@ |
c.Eblock(' */') |
- def AppendTypeJsDoc(self, c, namespace_name, js_type, optional): |
- """Appends the documentation for a type as a Code. |
- """ |
- c.Append('@type {') |
- if optional: |
- c.Append('(', new_line=False) |
- c.Concat(self._TypeToJsType(namespace_name, js_type), new_line=False) |
- c.Append('|undefined)', new_line=False) |
- else: |
- c.Concat(self._TypeToJsType(namespace_name, js_type), new_line=False) |
- c.Append('}', new_line=False) |
- |
def _FunctionToJsFunction(self, namespace_name, function): |
"""Converts a model.Function to a JS type (i.e., function([params])...)""" |
c = Code() |