@slickgrid-universal/utils
Advanced tools
Comparing version 2.0.0 to 2.1.0
@@ -251,3 +251,3 @@ "use strict"; | ||
return inputStr.replace(/\w\S*/g, (outputStr) => { | ||
return outputStr.charAt(0).toUpperCase() + outputStr.substr(1).toLowerCase(); | ||
return outputStr.charAt(0).toUpperCase() + outputStr.substring(1).toLowerCase(); | ||
}); | ||
@@ -254,0 +254,0 @@ } |
@@ -233,3 +233,3 @@ /** | ||
return inputStr.replace(/\w\S*/g, (outputStr) => { | ||
return outputStr.charAt(0).toUpperCase() + outputStr.substr(1).toLowerCase(); | ||
return outputStr.charAt(0).toUpperCase() + outputStr.substring(1).toLowerCase(); | ||
}); | ||
@@ -236,0 +236,0 @@ } |
{ | ||
"name": "@slickgrid-universal/utils", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "Common set of small utilities", | ||
@@ -31,3 +31,3 @@ "main": "dist/commonjs/index.js", | ||
], | ||
"gitHead": "4c1c9ebfa38f03aa48a9a38c9d1759d4db2dea2d" | ||
"gitHead": "6dacb35f8c7bba5378919ae64923fde0dcd75d6a" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
59630