Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ampproject/amphtml
/ sourceUrl
Function
sourceUrl
src/preact/utils/docInfo.js:24–26 ·
view source on GitHub ↗
* @return {string}
()
Source
from the content-addressed store, hash-verified
22
* @
return
{string}
23
*/
24
get sourceUrl() {
25
return
self.location.href;
26
},
27
28
/**
29
* @
return
{string}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected