Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/angular
/ supportsImports
Function
supportsImports
packages/zone.js/test/browser/HTMLImports.spec.ts:11–13 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
9
import
{ifEnvSupports} from
'../test-util'
;
10
11
function
supportsImports() {
12
return
'import'
in document.createElement(
'link'
);
13
}
14
15
if
(supportsImports()) {
16
describe(
'HTML Imports'
,
function
() {
Callers
1
HTMLImports.spec.ts
File · 0.85
Calls
1
createElement
Method · 0.65
Tested by
no test coverage detected