I want to load an OWL file before executing other (visualisation-)scripts. To do this I tried everything from
$(document).ready
to
<
Try this:
function visualize (file) {
if (!file)
{setTimeout(function(){visualize(file);}, 2000)}
else
{jQuery(function($){visFeaturePool.init(file)})}}
This way you are giving setTimeout an anonymous function that will be executed when scheduled, and you can pass parameters to visualize using a closure like file
.