'use babel'

export default class AtomRipTimerView {
  time: 0

  constructor (time) {
    this.element = document.createElement('span')
    this.element.classList.add('inline-block', 'atom-rip-timer')

    this.update(time)
  }

  getElement () {
    return this.element
  }

  destroy() {
    this.getElement().remove()
  }

  update (time) {
    this.time = time
    this.element.textContent = this.time + '초'
  }
}

@@ -50,19 +50,8 @@
 w %7B%0A
-  time: 0%0A%0A
   co
@@ -331,29 +331,8 @@
 ) %7B%0A
-    this.time = time%0A
     
@@ -358,21 +358,16 @@
 ntent = 
-this.
 time + '

Update TimerView