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

Unified Diff: mojo/public/tools/bindings/generators/mojom_js_generator.py

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/mojom_js_generator.py
diff --git a/mojo/public/tools/bindings/generators/mojom_js_generator.py b/mojo/public/tools/bindings/generators/mojom_js_generator.py
index d1a61470ea000e48bc8e1a987110e9940a31177e..47fea232a0df698ac78a081bd1943309339c5dc6 100644
--- a/mojo/public/tools/bindings/generators/mojom_js_generator.py
+++ b/mojo/public/tools/bindings/generators/mojom_js_generator.py
@@ -306,7 +306,7 @@ class Generator(generator.Generator):
def GenerateAMDModule(self):
return self.GetParameters()
- @UseJinja("js_templates/module.html.tmpl", filters=js_filters)
+ @UseJinja("js_templates/module.sky.tmpl", filters=js_filters)
def GenerateHTMLModule(self):
return self.GetParameters()
@@ -314,7 +314,7 @@ class Generator(generator.Generator):
self.Write(self.GenerateAMDModule(),
self.MatchMojomFilePath("%s.js" % self.module.name))
self.Write(self.GenerateHTMLModule(),
- self.MatchMojomFilePath("%s.html" % self.module.name))
+ self.MatchMojomFilePath("%s.sky" % self.module.name))
def GetImports(self):
used_names = set()
« no previous file with comments | « mojo/public/tools/bindings/generators/js_templates/module.sky.tmpl ('k') | mojo/public/tools/bindings/mojom.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698