nl_tokens: Takes a raw HTML / template string and looks for el - related data attributes which are contained in a comment . Returns the attributes hash or undefined if no attributes are found .
pl_tokens: function _getEmbeddedElAttributes ( templateString ) { var elDataAttributes = { } , elDefinitionMatch = rxElDefinitionComment . exec ( templateString ) , elDefinitionComment = elDefinitionMatch && elDefinitionMatch [ 0 ] ; if ( elDefinitionComment ) { _ . each ( rxRegisteredDataAttributes , function ( rxAttributeMatcher , attributeName ) { var match = rxAttributeMatcher . exec ( elDefinitionComment ) , attributeValue = match && match [ 2 ] ; if ( attributeValue ) elDataAttributes [ attributeName ] = attributeValue ; } ) ; } return _ . <mask> ( elDataAttributes ) ? elDataAttributes : undefined ; }