Skip to content

Commit e86a90c

Browse files
authored
fix unresolved lib methods
1 parent f618df5 commit e86a90c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎src/lib/index.js‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ var MAX_SAFE = numConstants.FP_SAFE;
1010
var MIN_SAFE = -MAX_SAFE;
1111
var BADNUM = numConstants.BADNUM;
1212

13-
var lib = (module.exports = {});
13+
module.exports = {};
14+
var lib = module.exports;
1415

1516
lib.adjustFormat = function adjustFormat(formatStr) {
1617
if (!formatStr || /^\d[.]\df/.test(formatStr) || /[.]\d%/.test(formatStr)) return formatStr;

0 commit comments

Comments
 (0)