mirror of
https://github.com/KevinMidboe/vue-js-modal.git
synced 2025-10-29 18:00:20 +00:00
Added build target without css, started using prettier intead of linting
This commit is contained in:
@@ -19,7 +19,7 @@ const types = [
|
||||
}
|
||||
]
|
||||
|
||||
var getType = (value) => {
|
||||
var getType = value => {
|
||||
if (value === 'auto') {
|
||||
return {
|
||||
type: value,
|
||||
@@ -43,7 +43,7 @@ var getType = (value) => {
|
||||
}
|
||||
}
|
||||
|
||||
export const parse = (value) => {
|
||||
export const parse = value => {
|
||||
switch (typeof value) {
|
||||
case 'number':
|
||||
return { type: 'px', value }
|
||||
|
||||
Reference in New Issue
Block a user