(text)
| 939 | } |
| 940 | |
| 941 | function replaceLink(text) { |
| 942 | return text.replace(/\b(https?:\/\/[^\s]+)/gi, '<a href="$1">$1</a>') |
| 943 | } |
| 944 | |
| 945 | // Code via underscore's _.compose |
| 946 | function compose(...fns) { |
nothing calls this directly
no outgoing calls
no test coverage detected