a3eb0b4f5f
with changes necessary to conform to contrib standards and grunt 0.4.0 best practices Squashed 53 commits
32 lines
619 B
JavaScript
32 lines
619 B
JavaScript
/*global jasmine:false, window:false, document:false*/
|
|
|
|
(function(){
|
|
'use strict';
|
|
|
|
var jasmineEnv = jasmine.getEnv();
|
|
|
|
jasmineEnv.updateInterval = 1000;
|
|
var htmlReporter = new jasmine.HtmlReporter();
|
|
jasmineEnv.addReporter(htmlReporter);
|
|
|
|
jasmineEnv.specFilter = function(spec) {
|
|
return htmlReporter.specFilter(spec);
|
|
};
|
|
|
|
var currentWindowOnload = window.onload;
|
|
|
|
if (document.readyState !== 'complete') {
|
|
window.onload = function() {
|
|
if (currentWindowOnload) {
|
|
currentWindowOnload();
|
|
}
|
|
jasmineEnv.execute();
|
|
};
|
|
} else {
|
|
jasmineEnv.execute();
|
|
}
|
|
|
|
|
|
}());
|
|
|