(link)
| 6169 | } |
| 6170 | |
| 6171 | linkHasHref(link) { |
| 6172 | return link && link.href && link.href.replace && !this.hrefIsJs(link.href); |
| 6173 | } |
| 6174 | |
| 6175 | hrefIsJs(href) { |
| 6176 | return /^(javascript|#|$)/.test(href.trim().replace("#p{", "").replace(location.href, "")); |
no test coverage detected