load list of spec files from the server

This commit is contained in:
Peter 'Pita' Martischka 2012-10-27 17:05:26 +01:00
parent cc7ddddd2f
commit cac27c864a
3 changed files with 18 additions and 10 deletions

View file

@ -4,6 +4,13 @@ $(function(){
document.domain = document.domain; // for comet
}
var specs = specs_list.slice();
var $body = $('body')
$.each(specs, function(i, spec){
$body.append('<script src="specs/' + spec + '"></script>')
});
//initalize the test helper
helper.init(function(){
//configure and start the test framework