Skip to content

Commit 57633fa

Browse files
Fix dp fn. Update for latest eslint (remove old comments)
1 parent 88ca2e8 commit 57633fa

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

nodes/uib-runtime-plugin.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,6 @@ function onAdd() {
6161
* @returns {string} Formatted number as a string
6262
*/
6363
dp: (inp, dp = 1, int = 'en-GB') => {
64-
// if (!int) int = 'en-GB'
65-
// if (!dp) dp = 1
6664
return inp.toLocaleString(int, { minimumFractionDigits: dp, maximumFractionDigits: dp, })
6765
},
6866

0 commit comments

Comments
 (0)