(source)
| 89 | } |
| 90 | |
| 91 | function encodeHTML(source) { |
| 92 | return source == null |
| 93 | ? '' |
| 94 | : String(source) |
| 95 | .replace(/&/g, '&') |
| 96 | .replace(/</g, '<') |
| 97 | .replace(/>/g, '>') |
| 98 | .replace(/"/g, '"') |
| 99 | .replace(/'/g, '''); |
| 100 | } |
| 101 | |
| 102 | function isObject(value) { |
| 103 | // Avoid a V8 JIT bug in Chrome 19-20. |
no outgoing calls
no test coverage detected
searching dependent graphs…