Permalink
Browse files

added a .toString() on parameters in the serialiser

  • Loading branch information...
deoxxa committed Nov 28, 2012
1 parent 333e148 commit 893ceb63c8ac954385c32a52821f895750252db0
Showing with 1 addition and 1 deletion.
  1. +1 −1 serialiser.js
View
@@ -27,5 +27,5 @@ Serialiser.prototype.format_prefix = function format_prefix(prefix) {
};
Serialiser.prototype.format_parameters = function format_parameters(parameters) {
- return parameters.map(function(e) { return ((e.indexOf(" ") !== -1) ? ":" : "") + e; }).join(" ");
+ return parameters.map(function(e) { return ((e.toString().indexOf(" ") !== -1) ? ":" : "") + e; }).join(" ");
};

0 comments on commit 893ceb6

Please sign in to comment.