function handler() {
        var res = Vue.compile(this.template);
        this.templateRender = res.render; // staticRenderFns belong into $options, 
        // appearantly

        this.$options.staticRenderFns = []; // clean the cache of static elements
        // this is a cache with the results from the staticRenderFns

        this._staticTrees = []; // Fill it with the new staticRenderFns

        for (var i in res.staticRenderFns) {
          //staticRenderFns.push(res.staticRenderFns[i]);
          this.$options.staticRenderFns.push(res.staticRenderFns[i]);
        }
      }
// makes the watcher fire on first render, too.
makes the watcher fire on first render, too.
makes the watcher fire on first render too .
function handler() {
        var res = Vue.compile(this.template);
        this.templateRender = res.render; 
        this.$options.staticRenderFns = []; 
        this._staticTrees = []; 
        for (var i in res.staticRenderFns) {
          this.$options.staticRenderFns.push(res.staticRenderFns[i]);
        }
      }
function handler ( ) { var res = Vue . compile ( this . template ) ; this . templateRender = res . render ; this . $options . staticRenderFns = [ ] ; this . _staticTrees = [ ] ; for ( var i in res . staticRenderFns ) { this . $options . staticRenderFns . push ( res . staticRenderFns [ i ] ) ; } }
makes the watcher fire on first render, too.
makes the watcher fire on first render too .
// staticRenderFns belong into $options,  // appearantly // clean the cache of static elements // this is a cache with the results from the staticRenderFns // Fill it with the new staticRenderFns //staticRenderFns.push(res.staticRenderFns[i]);