Commits

Rune Halvorsen committed b078f65

Added toString

  • Participants
  • Parent commits 7eb9e53

Comments (0)

Files changed (1)

templates/js/js-message-classes.mako

 ${INDENT}this.${field.name} = arr[${str(field.number - 1)}];
     % endif
   % endfor
+  this.toString = function() { return "[message ${message.name}]"; }
 };
 % if message.enums:
   % for enum in message.enums: