You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: integration-test/test-pages/runtime-checks/index.html
+1-21Lines changed: 1 addition & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -7,34 +7,14 @@
7
7
</head>
8
8
<body>
9
9
<p><ahref="../../index.html">[Home]</a></p>
10
-
<script>
11
-
functionmakeLinkElement(link){
12
-
constlistItem=document.createElement('li')
13
-
constlinkElement=document.createElement('a')
14
-
linkElement.href=link.href
15
-
linkElement.innerText=link.text
16
-
}
17
-
asyncfunctioninit(){
18
-
console.log('init')
19
-
constresponse=awaitfetch('./pages.json')
20
-
constpages=awaitresponse.json()
21
-
constulElement=document.querySelector('ul')
22
-
for(constpageofpages){
23
-
constlinkElement=makeLinkElement(page)
24
-
ulElement.appendChild(linkElement)
25
-
}
26
-
}
27
-
init()
28
-
</script>
29
10
30
11
<p>Runtime element interrogation (runtimeChecks) allows our clients the ability to validate, inspect and modify elements as they get injected into a web page by website scripts.</p>
0 commit comments