amount: fix function name collision. fixes #154.
This commit is contained in:
parent
f2c53e2e08
commit
51ed3262e8
@ -404,7 +404,7 @@ Amount.serializeUnsafe = function serializeUnsafe(value, exp, num) {
|
|||||||
* @throws on parse error
|
* @throws on parse error
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Amount.value = function value(value, num) {
|
Amount.value = function _value(value, num) {
|
||||||
if (util.isInt(value))
|
if (util.isInt(value))
|
||||||
return value;
|
return value;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user