1
0
mirror of https://github.com/coreui/coreui-icons.git synced 2025-08-22 00:05:22 +02:00

fix: fix js imports and exports naming, rename 'delete' icon to 'remove'

This commit is contained in:
woothu
2019-10-17 11:31:52 +02:00
parent fcc0d3ab58
commit 20e7bddc7b
27 changed files with 583 additions and 563 deletions

View File

@@ -54,7 +54,7 @@ export default {
},
methods: {
toCamelCase (str) {
return str.replace(/([-_][a-z])/ig, ($1) => {
return str.replace(/([-_][a-z0-9])/ig, ($1) => {
return $1.toUpperCase().replace('-', '')
})
}