comparison iframe-resizer/test/resources/testLib.js @ 2:3c160414da2e default tip

initial upload
author shiltemann
date Thu, 26 Feb 2015 14:05:23 +0100
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 2:3c160414da2e
1 function sendMessage(msg){
2 'use strict';
3 var msgId = '[iFrameSizerTest]:';
4
5 document.getElementsByTagName('iframe')[0].contentWindow.postMessage( msgId + msg, '*' );
6 }