diff options
author | Marek Kotewicz <marek.kotewicz@gmail.com> | 2015-01-06 20:26:51 +0800 |
---|---|---|
committer | Marek Kotewicz <marek.kotewicz@gmail.com> | 2015-01-06 20:26:51 +0800 |
commit | af9242f4cc382a61bea9142ddbd0cec2e1edf08a (patch) | |
tree | e08dc7265e59f25057631916684b93b32ac80cd6 /lib/abi.js | |
parent | 1954b878191e08db04188f0934b15ebe8c2c5a84 (diff) | |
download | go-tangerine-af9242f4cc382a61bea9142ddbd0cec2e1edf08a.tar go-tangerine-af9242f4cc382a61bea9142ddbd0cec2e1edf08a.tar.gz go-tangerine-af9242f4cc382a61bea9142ddbd0cec2e1edf08a.tar.bz2 go-tangerine-af9242f4cc382a61bea9142ddbd0cec2e1edf08a.tar.lz go-tangerine-af9242f4cc382a61bea9142ddbd0cec2e1edf08a.tar.xz go-tangerine-af9242f4cc382a61bea9142ddbd0cec2e1edf08a.tar.zst go-tangerine-af9242f4cc382a61bea9142ddbd0cec2e1edf08a.zip |
fixed gulp build
Diffstat (limited to 'lib/abi.js')
-rw-r--r-- | lib/abi.js | 2 |
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 () { |