| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/public/js/codec", | 6 "mojo/public/js/codec", |
| 7 "mojo/public/js/connection", | 7 "mojo/public/js/connection", |
| 8 "mojo/public/js/core", |
| 8 "mojo/public/js/validator", | 9 "mojo/public/js/validator", |
| 9 {%- for import in imports %} | 10 {%- for import in imports %} |
| 10 "{{import.module.path}}", | 11 "{{import.module.path}}", |
| 11 {%- endfor %} | 12 {%- endfor %} |
| 12 ], function(codec, connection, validator | 13 ], function(codec, connection, core, validator |
| 13 {%- for import in imports -%} | 14 {%- for import in imports -%} |
| 14 , {{import.unique_name}} | 15 , {{import.unique_name}} |
| 15 {%- endfor -%} | 16 {%- endfor -%} |
| 16 ) { | 17 ) { |
| 17 | 18 |
| 18 {%- include "module_definition.tmpl" %} | 19 {%- include "module_definition.tmpl" %} |
| 19 | 20 |
| 20 return exports; | 21 return exports; |
| 21 }); | 22 }); |
| OLD | NEW |