made test helpers more cross browser compatible

This commit is contained in:
Peter 'Pita' Martischka 2012-10-03 17:37:48 +01:00
parent ba4ebbba3b
commit 7aee98bce8
4 changed files with 79 additions and 56 deletions

View file

@ -1,7 +1,11 @@
(function(){
//allow iframe access
document.domain = document.domain;
$(function(){
//allow cross iframe access
document.domain = document.domain;
//start test framework
mocha.run();
})()
//initalize the test helper
testHelper.init();
//configure and start the test framework
mocha.ignoreLeaks();
mocha.run();
});