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

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

Issue 803173009: Mojo JS Bindings: Eliminate foo$ Stub and Proxy class members (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: sync Created 5 years, 11 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.amd.tmpl
diff --git a/mojo/public/tools/bindings/generators/js_templates/module.amd.tmpl b/mojo/public/tools/bindings/generators/js_templates/module.amd.tmpl
index 2565f6a8e3651cba0b65d8bb767484bf5ac5c195..6d7a1a291875fb550fa0d8839681a85c897b6df8 100644
--- a/mojo/public/tools/bindings/generators/js_templates/module.amd.tmpl
+++ b/mojo/public/tools/bindings/generators/js_templates/module.amd.tmpl
@@ -3,6 +3,7 @@
// found in the LICENSE file.
define("{{module.path}}", [
+ "mojo/public/js/bindings",
"mojo/public/js/codec",
"mojo/public/js/connection",
"mojo/public/js/core",
@@ -10,7 +11,7 @@ define("{{module.path}}", [
{%- for import in imports %}
"{{import.module.path}}",
{%- endfor %}
-], function(codec, connection, core, validator
+], function(bindings, codec, connection, core, validator
{%- for import in imports -%}
, {{import.unique_name}}
{%- endfor -%}

Powered by Google App Engine
This is Rietveld 408576698