nl_tokens: Takes a raw HTML / template string and wraps it in a script tag ( of type text / x - template ) . In the process it detects el - related data attributes which are contained in an HTML comment and sets them on the script tag . Returns the script element as a jQuery object .
pl_tokens: function _wrapRawTemplate ( templateString ) { var $wrapper = $ ( "<script />" ) . attr ( "type" , "text/x-template" ) . <mask> ( templateString ) , elDataAttributes = _getEmbeddedElAttributes ( templateString ) ; if ( elDataAttributes ) $wrapper . attr ( elDataAttributes ) ; return $wrapper ; }