aboutsummaryrefslogtreecommitdiffstats
path: root/lib/abi.js
diff options
context:
space:
mode:
authorMarek Kotewicz <marek.kotewicz@gmail.com>2015-01-07 18:16:27 +0800
committerMarek Kotewicz <marek.kotewicz@gmail.com>2015-01-07 18:16:27 +0800
commit6c160adab3a6723b59ef2c6f1a209bf3806e400b (patch)
tree0cda87cf5cc9bf7694145243a1979673c1f46a99 /lib/abi.js
parent1954b878191e08db04188f0934b15ebe8c2c5a84 (diff)
parentb6232cfdd1f23447d900728be0b142d05aca0009 (diff)
downloaddexon-6c160adab3a6723b59ef2c6f1a209bf3806e400b.tar.gz
dexon-6c160adab3a6723b59ef2c6f1a209bf3806e400b.tar.zst
dexon-6c160adab3a6723b59ef2c6f1a209bf3806e400b.zip
Merge pull request #21 from debris/master
fixed gulp build
Diffstat (limited to 'lib/abi.js')
-rw-r--r--lib/abi.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/abi.js b/lib/abi.js
index 2cff503d3..21607f140 100644
--- a/lib/abi.js
+++ b/lib/abi.js
@@ -46,7 +46,7 @@ var findMethodIndex = function (json, methodName) {
};
var padLeft = function (string, chars) {
- return Array(chars - string.length + 1).join("0") + string;
+ return new Array(chars - string.length + 1).join("0") + string;
};
var setupInputTypes = function () {