Skip to content

Commit

Permalink
chore: Remove debugging log
Browse files Browse the repository at this point in the history
  • Loading branch information
yenshih authored and zoumiaojiang committed Jan 7, 2019
1 parent 0ba8ca5 commit b7cb00c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/mip/src/components/mip-video.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ class MipVideo extends CustomElement {

// Render the `<video>` element, and append to `this.element`
renderInView () {
console.log('view')
let videoEl = document.createElement('video')
for (let k in this.attributes) {
if (this.attributes.hasOwnProperty(k) && videoAttributes.indexOf(k) > -1) {
Expand Down Expand Up @@ -111,7 +110,6 @@ class MipVideo extends CustomElement {
}
// 混合内容警告:出于安全因素的考虑,不予播放,显示一个 X
renderError () {
console.log('error')
let videoEl = document.createElement('div')
videoEl.setAttribute('class', 'mip-video-poster')
if (this.attributes.poster) {
Expand All @@ -127,7 +125,6 @@ class MipVideo extends CustomElement {
}
// Render the `<div>` element with poster and play btn, and append to `this.element`
renderPlayElsewhere () {
console.log('else')
let videoEl = document.createElement('div')
let urlSrc
videoEl.setAttribute('class', 'mip-video-poster')
Expand Down

0 comments on commit b7cb00c

Please sign in to comment.