mirror of
https://github.com/Esri/offline-editor-js.git
synced 2025-12-15 15:20:05 +00:00
minor code cleanup
This commit is contained in:
parent
6de6572f7a
commit
ada41c9959
@ -115,30 +115,30 @@
|
||||
|
||||
try
|
||||
{
|
||||
var jasmineEnv = jasmine.getEnv();
|
||||
jasmineEnv.updateInterval = 1000;
|
||||
jasmineEnv.defaultTimeoutInterval = 10000; // 10 sec
|
||||
var htmlReporter = new jasmine.HtmlReporter();
|
||||
var jasmineEnv = jasmine.getEnv();
|
||||
jasmineEnv.updateInterval = 1000;
|
||||
jasmineEnv.defaultTimeoutInterval = 10000; // 10 sec
|
||||
var htmlReporter = new jasmine.HtmlReporter();
|
||||
|
||||
jasmineEnv.addReporter(htmlReporter);
|
||||
jasmineEnv.addReporter(htmlReporter);
|
||||
|
||||
jasmineEnv.specFilter = function(spec) {
|
||||
return htmlReporter.specFilter(spec);
|
||||
};
|
||||
jasmineEnv.specFilter = function(spec) {
|
||||
return htmlReporter.specFilter(spec);
|
||||
};
|
||||
|
||||
/*
|
||||
var currentWindowOnload = window.onload;
|
||||
/*
|
||||
var currentWindowOnload = window.onload;
|
||||
|
||||
window.onload = function() {
|
||||
if (currentWindowOnload) {
|
||||
currentWindowOnload();
|
||||
window.onload = function() {
|
||||
if (currentWindowOnload) {
|
||||
currentWindowOnload();
|
||||
}
|
||||
execJasmine();
|
||||
};
|
||||
*/
|
||||
function execJasmine() {
|
||||
jasmineEnv.execute();
|
||||
}
|
||||
execJasmine();
|
||||
};
|
||||
*/
|
||||
function execJasmine() {
|
||||
jasmineEnv.execute();
|
||||
}
|
||||
|
||||
execJasmine();
|
||||
}
|
||||
@ -146,8 +146,6 @@
|
||||
{
|
||||
console.log(err);
|
||||
}
|
||||
|
||||
|
||||
}; // test()
|
||||
|
||||
}); // require()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user