MCPcopy
hub / github.com/ampproject/amphtml / getLocation

Method getLocation

src/core/window/interface.js:21–23  ·  view source on GitHub ↗

* @static * @param {Window} win * @return {Location}

(win)

Source from the content-addressed store, hash-verified

19 * @return {Location}
20 */
21 static getLocation(win) {
22 return win.location;
23 }
24
25 /**
26 * @static

Callers 5

handleClickUrlFunction · 0.80
applyResponseFunction · 0.80
getExtraParamsUrlFunction · 0.80
getUrlMethod · 0.80
processConfig_Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected