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

Unified Diff: mojo/public/tools/bindings/generators/js_templates/module.sky.tmpl

Issue 697723003: Switch "html" Mojo modules to the Sky module system (Closed) Base URL: git@github.com:domokit/mojo.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 side-by-side diff with in-line comments
Download patch
Index: mojo/public/tools/bindings/generators/js_templates/module.sky.tmpl
diff --git a/mojo/public/tools/bindings/generators/js_templates/module.html.tmpl b/mojo/public/tools/bindings/generators/js_templates/module.sky.tmpl
similarity index 51%
rename from mojo/public/tools/bindings/generators/js_templates/module.html.tmpl
rename to mojo/public/tools/bindings/generators/js_templates/module.sky.tmpl
index f0a223688d3c292c47f9329a46dd926ccd0e60c9..09bc4e6405b859e53ae27082c4c30c25caa578a9 100644
--- a/mojo/public/tools/bindings/generators/js_templates/module.html.tmpl
+++ b/mojo/public/tools/bindings/generators/js_templates/module.sky.tmpl
@@ -2,12 +2,12 @@
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file. -->
-<link rel="import" href="/mojo/public/html/codec.html" as="codec" />
-<link rel="import" href="/mojo/public/html/validator.html" as="validator" />
+<link rel="import" href="/mojo/public/sky/codec.sky" as="codec" />
+<link rel="import" href="/mojo/public/sky/validator.sky" as="validator" />
{%- for import in imports %}
-<link rel="import" href="/{{import.module.path}}.html" as="{{import.unique_name}}" />
+<link rel="import" href="/{{import.module.path}}.sky" as="{{import.unique_name}}" />
{%- endfor %}
<script>
{%- include "module_definition.tmpl" %}
- this.exports = exports;
+ module.exports = exports;
</script>

Powered by Google App Engine
This is Rietveld 408576698