demo/amd/rjs/output/unified/marionette-build.js
function _wrapRawTemplate( templateString ) {
        var $wrapper = $( "<script />" )
                .attr( "type", "text/x-template" )
                .text( templateString ),

            elDataAttributes = _getEmbeddedElAttributes( templateString );

        if ( elDataAttributes ) $wrapper.attr( elDataAttributes );

        return $wrapper;
    }
function _wrapRawTemplate( templateString ) {
        var $wrapper = $( "<script />" )
                .attr( "type", "text/x-template" )
                .text( templateString ),

            elDataAttributes = _getEmbeddedElAttributes( templateString );

        if ( elDataAttributes ) $wrapper.attr( elDataAttributes );

        return $wrapper;
    }
function _wrapRawTemplate ( templateString ) { var $wrapper = $ ( "<script />" ) . attr ( "type" , "text/x-template" ) . text ( templateString ) , elDataAttributes = _getEmbeddedElAttributes ( templateString ) ; if ( elDataAttributes ) $wrapper . attr ( elDataAttributes ) ; return $wrapper ; }
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.

@param   {string} templateString
@returns {jQuery}
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 .