Update app.js

This commit is contained in:
Namhyeon Go 2023-07-27 01:38:32 +09:00 committed by GitHub
parent 6da822fc80
commit 14f3d56441
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

18
app.js
View File

@ -327,8 +327,15 @@ require.__msie9__ = function(FN, params, callback) {
htmlfile.write('<meta http-equiv="X-UA-Compatible" content="IE=9">');
htmlfile.write('<script type="text/javascript">//<!--<![CDATA[\n' + T + '\n//]]>--></script>');
if (typeof callback === "function") {
var loadScript = function(FN) {
if (FN.indexOf('://') > -1) {
htmlfile.write('<script type="text/javascript" src="' + FN + '"></script>');
} else {
htmlfile.write('<script type="text/javascript">//<!--<![CDATA[\n' + require.__load__(FN) + '\n//]]>--></script>');
}
};
//console.log(htmlfile.parentWindow.navigator.userAgent);
exports = callback(params, htmlfile.parentWindow, htmlfile.parentWindow.document);
exports = callback(params, htmlfile.parentWindow, htmlfile.parentWindow.document, loadScript);
}
htmlfile.close();
} catch (e) {
@ -362,8 +369,15 @@ require.__modernie__ = function(FN, params, callback) {
htmlfile.write('<script type="text/javascript">//<!--<![CDATA[\n' + T + '\n//]]>--></script>');
if (typeof callback === "function") {
var loadScript = function(FN) {
if (FN.indexOf('://') > -1) {
htmlfile.write('<script type="text/javascript" src="' + FN + '"></script>');
} else {
htmlfile.write('<script type="text/javascript">//<!--<![CDATA[\n' + require.__load__(FN) + '\n//]]>--></script>');
}
};
//console.log(htmlfile.parentWindow.navigator.userAgent);
exports = callback(params, htmlfile.parentWindow, htmlfile.parentWindow.document);
exports = callback(params, htmlfile.parentWindow, htmlfile.parentWindow.document, loadScript);
}
htmlfile.close();
} catch (e) {