Bugfix: parseNumeric declared in outer scope

This commit is contained in:
Michael Mclaughlin 2017-01-07 23:50:17 +00:00
parent dfbbbbf22f
commit 55560347ec
1 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@
*/
var BigNumber, parseNumeric,
var BigNumber,
isNumeric = /^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,
mathceil = Math.ceil,
mathfloor = Math.floor,
@ -39,7 +39,7 @@
* Create and return a BigNumber constructor.
*/
function constructorFactory(configObj) {
var div,
var div, parseNumeric,
// id tracks the caller function, so its name can be included in error messages.
id = 0,