()
| 139 | }; |
| 140 | |
| 141 | let _isYamlLikeResource = () => { |
| 142 | const utils = _getJsonAutoUtils(); |
| 143 | if (typeof utils.isYAMLResource === 'function') { |
| 144 | return utils.isYAMLResource(location.href, document.contentType); |
| 145 | } |
| 146 | |
| 147 | return /\.ya?ml$/i.test(new URL(location.href).pathname); |
| 148 | }; |
| 149 | |
| 150 | let _injectContentCss = () => { |
| 151 | if (cssInjected) { |
no test coverage detected