diff --git a/app.js b/app.js
index 082effb..a43e8ff 100644
--- a/app.js
+++ b/app.js
@@ -310,7 +310,10 @@ require.__msie9__ = function(FN, params, callback) {
var exports = null;
try {
- var T = require.__load__("app/assets/js/core-js-3.26.1.minified.js") + "\n\n" + require.__load__(FN);
+ var T = require.__load__("app/assets/js/core-js-3.26.1.minified.js")
+ + "\n\n" + require.__load__("app/assets/js/html5shiv-printshiv-3.7.3.min.js")
+ + "\n\n" + require.__load__("app/assets/js/modernizr-2.8.3.min.js")
+ + "\n\n" + require.__load__(FN);
var htmlfile = CreateObject("htmlfile");
htmlfile.write('');
htmlfile.write('');
@@ -325,6 +328,29 @@ require.__msie9__ = function(FN, params, callback) {
return exports;
};
+require.__modernie__ = function(FN, params, callback) {
+ if (FN.substr(FN.length - 3) !== '.js') FN += ".js";
+
+ var exports = null;
+ try {
+ var T = require.__load__("app/assets/js/core-js-3.26.1.minified.js")
+ + "\n\n" + require.__load__("app/assets/js/modernizr-2.8.3.min.js")
+ + "\n\n" + require.__load__("app/assets/js/babel-standalone-7.20.6.min.js");
+ + "\n\n" + require.__load__(FN);
+ var htmlfile = CreateObject("htmlfile");
+ htmlfile.write('');
+ htmlfile.write('');
+ if (typeof callback === "function") {
+ //console.log(htmlfile.parentWindow.navigator.userAgent);
+ exports = callback(params, htmlfile.parentWindow, htmlfile.parentWindow.document);
+ }
+ htmlfile.close();
+ } catch (e) {
+ console.error("LOAD ERROR!", e.number + ",", e.description + ",", "FN=" + FN);
+ }
+
+ return exports;
+};
/////////////////////////////////////////////////////////////////////////////////
// Load script, and call app.main()