chore: remove console.log

This commit is contained in:
qingwei.li 2018-02-11 20:31:07 +08:00 • committed by cinwell.li
commit a0c60b707c

View file

@ -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) {