src/basis/template.js
function(config){
      this.ruleRet_ = [];
      this.templates_ = [];
      this.rule = config.rule;

      var events = config.events;
      if (events && events.length)
      {
        this.ruleEvents = {};
        for (var i = 0, eventName; eventName = events[i]; i++)
          this.ruleEvents[eventName] = true;
      }

      cleaner.add(this);
    }
function(config){
      this.ruleRet_ = [];
      this.templates_ = [];
      this.rule = config.rule;

      var events = config.events;
      if (events && events.length)
      {
        this.ruleEvents = {};
        for (var i = 0, eventName; eventName = events[i]; i++)
          this.ruleEvents[eventName] = true;
      }

      cleaner.add(this);
    }
function ( config ) { this . ruleRet_ = [ ] ; this . templates_ = [ ] ; this . rule = config . rule ; var events = config . events ; if ( events && events . length ) { this . ruleEvents = { } ; for ( var i = 0 , eventName ; eventName = events [ i ] ; i ++ ) this . ruleEvents [ eventName ] = true ; } cleaner . add ( this ) ; }
return empty string as template source
return empty string as template source