
    }
    
    Fragment.prototype.show = function() {
      this.elem.style.visibility = '';
    };
    
    Fragment.prototype.hide = function() {
      this.elem.style.visibility = 'hidden';
    };

    /**
     * FragmentsController
     */
     function FragmentsController(root) {
      this.fragments = [].slice
        .call(root.querySelectorAll('[data-enter], [data-exit]'))
        .map(function(element){
          return new Fragment(element);
        });
      
      this.steps = this.fragments.re