(match)
| 560 | // Functions for escaping and unescaping strings to/from HTML interpolation. |
| 561 | var createEscaper = function (map) { |
| 562 | var escaper = function (match) { |
| 563 | return map[match]; |
| 564 | }; |
| 565 | // Regexes for identifying a key that needs to be escaped. |
| 566 | var source = '(?:' + Object.keys(map).join('|') + ')'; |
| 567 | var testRegexp = RegExp(source); |
nothing calls this directly
no outgoing calls
no test coverage detected