MCPcopy Create free account
hub / github.com/ampproject/amphtml / content_script.js

File content_script.js

validator/js/chromeextension/content_script.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1const globals = {};
2globals.amphtmlRegex = new RegExp('(^\\s*)amphtml(\\s*$)');
3globals.ampCaches = [
4 {

Callers

nothing calls this directly

Calls 5

isAmpDocumentFunction · 0.85
isAmpCacheFunction · 0.85
getAmpHtmlLinkHrefFunction · 0.85
getAmpCacheHrefFunction · 0.85
addListenerMethod · 0.80

Tested by

no test coverage detected