Index: mojo/public/tools/bindings/generators/js_templates/module.html.tmpl |
diff --git a/mojo/public/tools/bindings/generators/js_templates/module.html.tmpl b/mojo/public/tools/bindings/generators/js_templates/module.html.tmpl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d6d82ce9d8c5a1aaeb22c563369f9402ce2c46a8 |
--- /dev/null |
+++ b/mojo/public/tools/bindings/generators/js_templates/module.html.tmpl |
@@ -0,0 +1,13 @@ |
+<!-- Copyright 2014 The Chromium Authors. All rights reserved. |
+ Use of this source code is governed by a BSD-style license that can be |
+ found in the LICENSE file. --> |
+ |
+<link rel="import" href="//mojo/public/js/bindings/codec.html" as="codec" /> |
+<link rel="import" href="//mojo/public/js/bindings/validator.html" as="validator" /> |
+{%- for import in imports %} |
+<link rel="import" href="//{{import.module.path}}.html" as="{{import.unique_name}}" /> |
+{%- endfor %} |
+<script> |
+{%- include "module_definition.tmpl" %} |
+ this.exports = exports; |
+</script> |