Index: mojo/public/tools/bindings/generators/js_templates/interface_definition.tmpl |
diff --git a/mojo/public/tools/bindings/generators/js_templates/interface_definition.tmpl b/mojo/public/tools/bindings/generators/js_templates/interface_definition.tmpl |
index b41929c245b4138a7b06d7170b1e048639d9d844..04adddfa0a288f4b856ec1282ada89d53ba08401 100644 |
--- a/mojo/public/tools/bindings/generators/js_templates/interface_definition.tmpl |
+++ b/mojo/public/tools/bindings/generators/js_templates/interface_definition.tmpl |
@@ -1,4 +1,3 @@ |
-{%- set namespace_as_string = namespace|replace(".","::") %} |
{%- for method in interface.methods %} |
var k{{interface.name}}_{{method.name}}_Name = {{method.ordinal}}; |
{%- endfor %} |
@@ -7,8 +6,6 @@ |
this.receiver_ = receiver; |
} |
- {{interface.name}}Proxy.NAME_ = '{{namespace_as_string}}::{{interface.name}}'; |
- |
{%- for method in interface.methods %} |
{{interface.name}}Proxy.prototype.{{method.name|stylize_method}} = function( |
{%- for parameter in method.parameters -%} |
@@ -54,8 +51,6 @@ |
function {{interface.name}}Stub() { |
} |
- {{interface.name}}Stub.NAME_ = '{{namespace_as_string}}::{{interface.name}}'; |
- |
{{interface.name}}Stub.prototype.accept = function(message) { |
var reader = new codec.MessageReader(message); |
switch (reader.messageName) { |