Index: mojo/public/tools/bindings/generators/js_templates/module.js.tmpl |
diff --git a/mojo/public/tools/bindings/generators/js_templates/module.js.tmpl b/mojo/public/tools/bindings/generators/js_templates/module.js.tmpl |
index a37a7a6efe43b2979e8ac0d599b2cd96ec71fa35..93fa537023dddb7683fe24bab0a297244c3b32e6 100644 |
--- a/mojo/public/tools/bindings/generators/js_templates/module.js.tmpl |
+++ b/mojo/public/tools/bindings/generators/js_templates/module.js.tmpl |
@@ -28,15 +28,15 @@ define("{{module.path}}", [ |
{#--- Struct definitions #} |
{% for struct in structs %} |
{%- include "struct_definition.tmpl" %} |
-{%- endfor %} |
+{%- endfor -%} |
{#--- Interface definitions #} |
-{%- for interface in interfaces %} |
+{%- for interface in interfaces -%} |
{%- include "interface_definition.tmpl" %} |
{%- endfor %} |
var exports = {}; |
-{% for constant in module.constants %} |
+{%- for constant in module.constants %} |
exports.{{constant.name}} = {{constant.name}}; |
{%- endfor %} |
{%- for enum in enums %} |
@@ -48,8 +48,6 @@ define("{{module.path}}", [ |
{%- for interface in interfaces %} |
exports.{{interface.name}}Proxy = {{interface.name}}Proxy; |
exports.{{interface.name}}Stub = {{interface.name}}Stub; |
- exports.validate{{interface.name}}Request = validate{{interface.name}}Request; |
- exports.validate{{interface.name}}Response = validate{{interface.name}}Response; |
{%- endfor %} |
return exports; |
}); |