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

Function quote

tests/qunit.js:1046–1048  ·  view source on GitHub ↗
( str )

Source from the content-addressed store, hash-verified

1044 */
1045QUnit.jsDump = (function() {
1046 function quote( str ) {
1047 return '"' + str.toString().replace(/"/g, '\\"') + '"';
1048 };
1049 function literal( o ) {
1050 return o + '';
1051 };

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected