summaryrefslogtreecommitdiffstats
path: root/src/utils/utils.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/utils.js')
-rw-r--r--src/utils/utils.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/utils/utils.js b/src/utils/utils.js
index 90ef548..edd98b6 100644
--- a/src/utils/utils.js
+++ b/src/utils/utils.js
@@ -36,13 +36,6 @@ export function degrees(r) {
return ((r * 180) / Math.PI) % 360
}
-// Convert dash-separated-string to camelCase
-export function camelCase(s) {
- return s.toLowerCase().replace(/-(.)/g, function (m, g) {
- return g.toUpperCase()
- })
-}
-
// Convert camel cased string to dash separated
export function unCamelCase(s) {
return s.replace(/([A-Z])/g, function (m, g) {