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

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

Issue 703273002: Update mojo sdk to rev 04a510fb37db10642e156957f9b2c11c2f6442ac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix content/child -> mojo/common linking Created 6 years, 1 month 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 "mojo/public/js/bindings/codec", 6 "mojo/public/js/codec",
7 "mojo/public/js/bindings/validator", 7 "mojo/public/js/validator",
8 {%- for import in imports %} 8 {%- for import in imports %}
9 "{{import.module.path}}", 9 "{{import.module.path}}",
10 {%- endfor %} 10 {%- endfor %}
11 ], function(codec, validator 11 ], function(codec, validator
12 {%- for import in imports -%} 12 {%- for import in imports -%}
13 , {{import.unique_name}} 13 , {{import.unique_name}}
14 {%- endfor -%} 14 {%- endfor -%}
15 ) { 15 ) {
16 16
17 {%- include "module_definition.tmpl" %} 17 {%- include "module_definition.tmpl" %}
18 18
19 return exports; 19 return exports;
20 }); 20 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698