From ba23b7d344eb1bf6eaf4e08e24c7d2d48d7cc12b Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 30 Nov 2016 12:09:36 +0100 Subject: [PATCH] Fix bug (custom map) Closes #19 --- lib/transcoder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/transcoder.js b/lib/transcoder.js index c8f2550..9d9bd25 100644 --- a/lib/transcoder.js +++ b/lib/transcoder.js @@ -401,7 +401,7 @@ function Transcoder(source) { if (value !== undefined) { args.push(value); } - this.args[key] = args; + this.args[Object.keys(this.args).length] = args; return this; };