Mercurial > repos > saskia-hiltemann > ireport
view iframe-resizer/test/resources/testLib.js @ 2:e8755431a0cd draft
fixed missing dependencies
author | saskia-hiltemann |
---|---|
date | Tue, 30 Sep 2014 09:47:14 -0400 |
parents | ac5f9272033b |
children |
line wrap: on
line source
function sendMessage(msg){ 'use strict'; var msgId = '[iFrameSizerTest]:'; document.getElementsByTagName('iframe')[0].contentWindow.postMessage( msgId + msg, '*' ); }