diff --git a/src/CIconRaw.vue b/src/CIconRaw.vue index 9e461f2..66a30b8 100644 --- a/src/CIconRaw.vue +++ b/src/CIconRaw.vue @@ -80,8 +80,8 @@ export default { methods: { toCamelCase (str) { return str.replace(/([-_][a-z0-9])/ig, ($1) => { - return $1.toUpperCase().replace('-', '') - }) + return $1.toUpperCase() + }).replace('-', '') } } }