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 3// found in the LICENSE file. 4 5define("{{module.path}}", [ 6 "mojo/public/js/bindings", 7 "mojo/public/js/codec", 8 "mojo/public/js/connection", 9 "mojo/public/js/core", 10 "mojo/public/js/validator", 11{%- for import in imports %} 12 "{{import.module.path}}", 13{%- endfor %} 14], function(bindings, codec, connection, core, validator 15{%- for import in imports -%} 16 , {{import.unique_name}} 17{%- endfor -%} 18) { 19 20{%- include "module_definition.tmpl" %} 21 22 return exports; 23}); 24