Fix whitespace

pull/39/head
Matt Baer 6 years ago
parent 3b4d14f194
commit 5fc41687be
  1. 7
      templates/include/post-render.tmpl

@ -22,9 +22,10 @@
// Given a array of URIs, load them in order
function loadLanguages(uris, callback) {
uris.forEach(function(uri) {
var sc=document.createElement('script');
sc.src=uri; sc.async=false; // critical?
if( uris.indexOf(uri) == uris.length-1) {
var sc = document.createElement('script');
sc.src = uri;
sc.async = false; // critical?
if (uris.indexOf(uri) == uris.length-1) {
sc.onload = callback;
}
document.head.appendChild(sc);

Loading…
Cancel
Save