소스 검색

fixed inlineJS

Piotr Labudda 7 년 전
부모
커밋
0fb8655fd1
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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";