()
| 162 | |
| 163 | |
| 164 | function init() { |
| 165 | readDataFromParent(); |
| 166 | log('Initialising iFrame ('+location.href+')'); |
| 167 | readDataFromPage(); |
| 168 | setMargin(); |
| 169 | setBodyStyle('background',bodyBackground); |
| 170 | setBodyStyle('padding',bodyPadding); |
| 171 | injectClearFixIntoBodyElement(); |
| 172 | checkHeightMode(); |
| 173 | checkWidthMode(); |
| 174 | stopInfiniteResizingOfIFrame(); |
| 175 | setupPublicMethods(); |
| 176 | startEventListeners(); |
| 177 | inPageLinks = setupInPageLinks(); |
| 178 | sendSize('init','Init message from host page'); |
| 179 | readyCallback(); |
| 180 | } |
| 181 | |
| 182 | function readDataFromParent() { |
| 183 |
no test coverage detected
searching dependent graphs…