I'm loading a template from a separate file, like this:
$("#servers").loadTemplate("templates/server.html", servers, {isFile: true});
I got the following warning in the console:
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience.
If I put the template into a script tag, instead of a separate file, there is not such warning. So is there anyway to make the console warning happy if I still want to load the template from a separate file?