nl_tokens: Sets a template of the component .
pl_tokens: function ( template ) { // unbind old models from old dom elements this . unbindAll ( ) ; if ( template == null ) { // save template html this . template = this . domElement . innerHTML ; } else { // set template string this . template = template ; // fill element.innerHTML with the template //this.domElement.innerHTML = template; htmlToElem ( this . domElement , this . template ) ; } // set built flag as false this . built = false ; // save template nodes this . templateNodes = [ Array . prototype . <mask> . call ( this . domElement . childNodes ) ] ; }