| 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 db570cd79dfb26dfdc27bb42348e587ce771a6a3..a37a7a6efe43b2979e8ac0d599b2cd96ec71fa35 100644
|
| --- a/mojo/public/tools/bindings/generators/js_templates/module.js.tmpl
|
| +++ b/mojo/public/tools/bindings/generators/js_templates/module.js.tmpl
|
| @@ -4,10 +4,11 @@
|
|
|
| define("{{module.path}}", [
|
| "mojo/public/js/bindings/codec",
|
| + "mojo/public/js/bindings/validator",
|
| {%- for import in imports %}
|
| "{{import.module.path}}",
|
| {%- endfor %}
|
| - ], function(codec
|
| + ], function(codec, validator
|
| {%- for import in imports -%}
|
| , {{import.unique_name}}
|
| {%- endfor -%}
|
| @@ -47,6 +48,8 @@ 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;
|
| });
|
|
|