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

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

Issue 643323002: [Mojo] Add support for HTML imports as well as AMD modules (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | « no previous file | mojo/public/tools/bindings/generators/js_templates/module.html.tmpl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
5 define("{{module.path}}", [
6 "mojo/public/js/bindings/codec",
7 "mojo/public/js/bindings/validator",
8 {%- for import in imports %}
9 "{{import.module.path}}",
10 {%- endfor %}
11 ], function(codec, validator
hansmuller 2014/10/10 22:55:31 We haven't been completely consistent about this h
abarth-chromium 2014/10/10 22:57:55 Fixed.
12 {%- for import in imports -%}
13 , {{import.unique_name}}
14 {%- endfor -%}
15 ) {
16
17 {%- include "module_definition.tmpl" %}
18
19 return exports;
20 });
OLDNEW
« no previous file with comments | « no previous file | mojo/public/tools/bindings/generators/js_templates/module.html.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698