OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 define("{{module.path}}", [ | 5 define("{{module.path}}", [ |
6 "mojo/bindings/js/core", | 6 "mojo/bindings/js/core", |
7 "mojo/public/js/bindings/codec", | 7 "mojo/public/js/bindings/codec", |
8 {%- for import in imports %} | 8 {%- for import in imports %} |
9 "{{import.module.path}}", | 9 "{{import.module.path}}", |
10 {%- endfor %} | 10 {%- endfor %} |
(...skipping 25 matching lines...) Expand all Loading... |
36 {%- endfor %} | 36 {%- endfor %} |
37 {%- for struct in structs if struct.exported %} | 37 {%- for struct in structs if struct.exported %} |
38 exports.{{struct.name}} = {{struct.name}}; | 38 exports.{{struct.name}} = {{struct.name}}; |
39 {%- endfor %} | 39 {%- endfor %} |
40 {%- for interface in interfaces %} | 40 {%- for interface in interfaces %} |
41 exports.{{interface.name}}Proxy = {{interface.name}}Proxy; | 41 exports.{{interface.name}}Proxy = {{interface.name}}Proxy; |
42 exports.{{interface.name}}Stub = {{interface.name}}Stub; | 42 exports.{{interface.name}}Stub = {{interface.name}}Stub; |
43 {%- endfor %} | 43 {%- endfor %} |
44 return exports; | 44 return exports; |
45 }); | 45 }); |
OLD | NEW |