comparison iframe-resizer/test/resources/testLib.js @ 0:ac5f9272033b draft

first upload
author saskia-hiltemann
date Tue, 01 Jul 2014 11:42:23 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:ac5f9272033b
1 function sendMessage(msg){
2 'use strict';
3 var msgId = '[iFrameSizerTest]:';
4
5 document.getElementsByTagName('iframe')[0].contentWindow.postMessage( msgId + msg, '*' );
6 }