MCPcopy Create free account
hub / github.com/ddopson/underscore-cli / unescape

Function unescape

lib/template.js:48–52  ·  view source on GitHub ↗
(code)

Source from the content-addressed store, hash-verified

46// Within an interpolation, evaluation, or escaping, remove HTML escaping
47// that had been previously added.
48var unescape = function(code) {
49 return code.replace(unescaper, function(match, escape) {
50 return escapes[escape];
51 });
52};
53
54// JavaScript micro-templating, similar to John Resig's implementation.
55// Underscore templating handles arbitrary delimiters, preserves whitespace,

Callers 1

parseTemplateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected