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

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

Issue 2744963002: Introduce InterfaceEndpointClient(IEC), InterfaceEndpointHandle and (Closed)
Patch Set: Throw the error with the string being the stack trace needed to debug layouts which don't output an… Created 3 years, 8 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
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 {%- if module.path != "mojo/public/interfaces/bindings/interface_control_message s.mojom" %} 6 {%- if module.path !=
7 "mojo/public/interfaces/bindings/interface_control_messages.mojom" and
8 module.path !=
9 "mojo/public/interfaces/bindings/pipe_control_messages.mojom" %}
7 "mojo/public/js/bindings", 10 "mojo/public/js/bindings",
8 {%- endif %} 11 {%- endif %}
9 "mojo/public/js/codec", 12 "mojo/public/js/codec",
10 "mojo/public/js/core", 13 "mojo/public/js/core",
11 "mojo/public/js/validator", 14 "mojo/public/js/validator",
12 {%- for import in imports %} 15 {%- for import in imports %}
13 "{{import.module.path}}", 16 "{{import.module.path}}",
14 {%- endfor %} 17 {%- endfor %}
15 ], function( 18 ], function(
16 {%- if module.path != "mojo/public/interfaces/bindings/interface_control_message s.mojom" -%} 19 {%- if module.path !=
20 "mojo/public/interfaces/bindings/interface_control_messages.mojom" and
21 module.path !=
22 "mojo/public/interfaces/bindings/pipe_control_messages.mojom" -%}
17 bindings, {% endif -%} 23 bindings, {% endif -%}
18 codec, core, validator 24 codec, core, validator
19 {%- for import in imports -%} 25 {%- for import in imports -%}
20 , {{import.unique_name}} 26 , {{import.unique_name}}
21 {%- endfor -%} 27 {%- endfor -%}
22 ) { 28 ) {
23 29
24 {%- include "module_definition.tmpl" %} 30 {%- include "module_definition.tmpl" %}
25 31
26 return exports; 32 return exports;
27 }); 33 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698