X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fjs%2Fmkws-jasmine-run.js;h=1aec289d0b309af40cd3c12f4fe584ed372f7cc8;hb=53dc53783dfabd95a00a1a06472fe0982fa4ebf0;hp=3b9b29ed5a66d2c7380ead83f223ceb52a9f15f1;hpb=d512a156cbdffb79d59e70e1b20cdf34e05a4f7b;p=mkws-moved-to-github.git diff --git a/test/js/mkws-jasmine-run.js b/test/js/mkws-jasmine-run.js index 3b9b29e..1aec289 100644 --- a/test/js/mkws-jasmine-run.js +++ b/test/js/mkws-jasmine-run.js @@ -7,12 +7,12 @@ function mkws_jasmine_init(delay) { var currentWindowOnload = window.onload; - window.onload = function() { + window.onload = function () { if (currentWindowOnload) { currentWindowOnload(); } if (delay) { - setTimeout(function() { + setTimeout(function () { execJasmine() }, delay); } else { @@ -27,7 +27,7 @@ function mkws_jasmine_init(delay) { var htmlReporter = new jasmine.HtmlReporter(); jasmineEnv.addReporter(htmlReporter); - jasmineEnv.specFilter = function(spec) { + jasmineEnv.specFilter = function (spec) { return htmlReporter.specFilter(spec); }; @@ -36,4 +36,3 @@ function mkws_jasmine_init(delay) { }; /* EOF */ -