chore: remove console.log
This commit is contained in:
parent
7a33ec2133
commit
a0c60b707c
1 changed files with 0 additions and 2 deletions
|
|
@ -17,7 +17,6 @@ function getAndRemoveConfig (str = '') {
|
||||||
if (str) {
|
if (str) {
|
||||||
str = str
|
str = str
|
||||||
.replace(/:([\w-]+)=?([\w-]+)?/g, (m, key, value) => {
|
.replace(/:([\w-]+)=?([\w-]+)?/g, (m, key, value) => {
|
||||||
console.log(key, value)
|
|
||||||
config[key] = (value && value.replace(/"/g, '')) || true
|
config[key] = (value && value.replace(/"/g, '')) || true
|
||||||
return ''
|
return ''
|
||||||
})
|
})
|
||||||
|
|
@ -47,7 +46,6 @@ const compileMedia = {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
iframe (url, title) {
|
iframe (url, title) {
|
||||||
console.log(title)
|
|
||||||
return `<iframe src="${url}" ${title || 'width=100% height=400'}></iframe>`
|
return `<iframe src="${url}" ${title || 'width=100% height=400'}></iframe>`
|
||||||
},
|
},
|
||||||
video (url, title) {
|
video (url, title) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue