| Index: mojo/public/tools/bindings/generators/js_templates/module_definition.tmpl
|
| diff --git a/mojo/public/tools/bindings/generators/js_templates/module_definition.tmpl b/mojo/public/tools/bindings/generators/js_templates/module_definition.tmpl
|
| index 7d7f06558aa1c8bcba6af0268680054a73758e03..21165ddcad26228fd8d544570880bb580812e4fc 100644
|
| --- a/mojo/public/tools/bindings/generators/js_templates/module_definition.tmpl
|
| +++ b/mojo/public/tools/bindings/generators/js_templates/module_definition.tmpl
|
| @@ -25,12 +25,6 @@
|
| {%- include "interface_definition.tmpl" %}
|
| {%- endfor %}
|
|
|
| -{%- if use_new_js_bindings %}
|
| - var exports = mojo.internal.exposeNamespace("{{module.namespace}}");
|
| -{%- else %}
|
| - var exports = {};
|
| -{%- endif %}
|
| -
|
| {%- for constant in module.constants %}
|
| exports.{{constant.name}} = {{constant.name}};
|
| {%- endfor %}
|
|
|