Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ampproject/amphtml
/ mraid.js
File
mraid.js
examples/mraid/mraid.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
// Fake mraid.js that lets us pretend to be in a mobile app environment.
2
window.mraid = {};
3
console.log(
'initiate marid object'
);
4
window.mraid.getState =
function
() {
Callers
nothing calls this directly
Calls
3
mockVisible
Function · 0.85
callback
Function · 0.50
log
Method · 0.45
Tested by
no test coverage detected