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 ef4c2ef7b876dc1b28b2927320e91e6e1e7dfa42..3225e0b09839792a79a9f1628dabcfb596ab64c8 100644 |
--- a/mojo/public/tools/bindings/generators/mojom_js_generator.py |
+++ b/mojo/public/tools/bindings/generators/mojom_js_generator.py |
@@ -160,6 +160,9 @@ class Generator(generator.Generator): |
# TODO(yzshen): Remove this method once the old JS bindings go away. |
self._SetUniqueNameForImports() |
+ # TODO(yzshen): Add a JavaScriptStylizer. |
+ self.module.Stylize(generator.Stylizer()) |
+ |
self.Write(self._GenerateAMDModule(), |
self.MatchMojomFilePath("%s.js" % self.module.name)) |