Piotr Labudda 8 anni fa
parent
commit
0fb8655fd1
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      SE/se-lib/UI.php

+ 1 - 0
SE/se-lib/UI.php

@@ -285,6 +285,7 @@ class UI {
 			echo "  var {$name} = " . json_encode($var) . ";\n";
 		}
 		echo file_get_contents($jsFile);
+		echo "\n;\n";
 		echo "  if (module && module.exports && Object.keys(module.exports).length) {" . "\n";
 		echo "    Object.keys(module.exports).forEach(function (key) {" . "\n";
 		echo "      global[key] = module.exports[key];" . "\n";