MCPcopy Create free account
hub / github.com/BorisMoore/jquery-tmpl / updateWrapped

Function updateWrapped

jquery.tmpl.js:370–376  ·  view source on GitHub ↗
( options, wrapped )

Source from the content-addressed store, hash-verified

368 );
369 }
370 function updateWrapped( options, wrapped ) {
371 // Build the wrapped content.
372 options._wrap = build( options, true,
373 // Suport imperative scenario in which options.wrapped can be set to a selector or an HTML string.
374 jQuery.isArray( wrapped ) ? wrapped : [htmlExpr.test( wrapped ) ? wrapped : jQuery( wrapped ).html()]
375 ).join("");
376 }
377
378 function unescape( args ) {
379 return args ? args.replace( /\\'/g, "'").replace(/\\\\/g, "\\" ) : null;

Callers 1

jquery.tmpl.jsFile · 0.85

Calls 1

buildFunction · 0.85

Tested by

no test coverage detected