view iframe-resizer/src/iframeResizer.map @ 8:86219e4aa239 draft

Uploaded
author saskia-hiltemann
date Mon, 28 Aug 2017 10:23:21 -0400
parents ac5f9272033b
children
line wrap: on
line source

{"version":3,"file":"js/iframeResizer.min.js","sources":["iframeResizer.js"],"names":["addEventListener","obj","evt","func","window","attachEvent","setupRequestAnimationFrame","x","vendors","length","requestAnimationFrame","log","msg","settings","console","msgId","page","iFrameListener","event","resizeIFrame","resize","setSize","messageData","setPagePosition","resizedCallback","syncResize","closeIFrame","iframe","iframeID","id","parentNode","removeChild","closedCallback","processMsg","data","substr","msgIdLen","split","document","getElementById","height","width","type","ensureInRange","Dimension","max","Number","min","dimension","toLowerCase","size","Error","isMessageFromIFrame","origin","remoteHost","src","slice","join","checkOrigin","isMessageForUs","isMessageFromMetaParent","retCode","true","false","forwardMsgFromIFrame","msgBody","indexOf","msgHeaderLen","messageCallback","message","checkIFrameExists","actionMsg","resetIFrame","initCallback","firstRun","getPagePosition","pagePosition","undefined","pageXOffset","documentElement","scrollLeft","y","pageYOffset","scrollTop","scrollTo","reset","trigger","setDimension","style","sizeHeight","sizeWidth","doNotSync","calleeMsg","contentWindow","postMessage","setupIFrame","setLimits","addStyle","Infinity","ensureHasId","count","setScrolling","scrolling","overflow","setupBodyMarginValues","bodyMargin","bodyMarginV1","createOutgoingMsg","interval","enablePublicMethods","autoResize","heightCalculationMethod","bodyBackground","bodyPadding","tolerance","init","fr","resetRequiredMethods","this","checkOptions","options","TypeError","createNativePublicFunction","element","tagName","call","processOptions","option","defaults","hasOwnProperty","selecter","Array","prototype","forEach","querySelectorAll","createJQueryPublicMethod","$","fn","iFrameResize","extend","filter","each","end","msgHeader","scroll","bodyScroll","documentElementScroll","maxHeight","maxWidth","minHeight","minWidth","jQuery","define","amd"],"mappings":";;;;;;;CAOC,WACG,YAwCH,SAASA,GAAiBC,EAAIC,EAAIC,GAC7B,oBAAsBC,QACzBH,EAAID,iBAAiBE,EAAIC,GAAM,GACrB,eAAiBC,SAC3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