Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(89)

Side by Side Diff: mojo/public/tools/bindings/generators/js_templates/module.amd.tmpl

Issue 2615633005: Mojo JS bindings: remove usage of the connection module. (Closed)
Patch Set: . Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « mojo/public/tools/bindings/generators/js_templates/interface_definition.tmpl ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/bindings", 6 "mojo/public/js/bindings",
7 "mojo/public/js/codec", 7 "mojo/public/js/codec",
8 "mojo/public/js/connection",
9 "mojo/public/js/core", 8 "mojo/public/js/core",
10 "mojo/public/js/validator", 9 "mojo/public/js/validator",
11 {%- for import in imports %} 10 {%- for import in imports %}
12 "{{import.module.path}}", 11 "{{import.module.path}}",
13 {%- endfor %} 12 {%- endfor %}
14 ], function(bindings, codec, connection, core, validator 13 ], function(bindings, codec, core, validator
15 {%- for import in imports -%} 14 {%- for import in imports -%}
16 , {{import.unique_name}} 15 , {{import.unique_name}}
17 {%- endfor -%} 16 {%- endfor -%}
18 ) { 17 ) {
19 18
20 {%- include "module_definition.tmpl" %} 19 {%- include "module_definition.tmpl" %}
21 20
22 return exports; 21 return exports;
23 }); 22 });
OLDNEW
« no previous file with comments | « mojo/public/tools/bindings/generators/js_templates/interface_definition.tmpl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698