|
|
(5 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
− | <html lang="en"> | + | <html> |
− | <head>
| + | <script type="application/javascript"> |
− | <meta charset="utf-8" />
| + | |
− | <link rel="shortcut icon" href="/plugins/abctunebook/favicon.ico" />
| + | function resizeIFrameToFitContent( iFrame ) { |
− | <meta
| + | |
− | name="viewport"
| + | iFrame.width = iFrame.contentWindow.document.body.scrollWidth; |
− | content="width=device-width,initial-scale=1,shrink-to-fit=no"
| + | iFrame.height = iFrame.contentWindow.document.body.scrollHeight; |
− | />
| + | } |
− | <meta name="theme-color" content="#000000" />
| + | |
− | <link rel="manifest" href="/plugins/abctunebook/manifest.json" />
| + | window.addEventListener('DOMContentLoaded', function(e) { |
− | <title>React App</title>
| + | |
− | <link
| + | var iFrame = document.getElementById( 'iFrame1' ); |
− | href="/plugins/abctunebook/static/css/main.css"
| + | resizeIFrameToFitContent( iFrame ); |
− | rel="stylesheet"
| + | |
− | />
| + | // or, to resize all iframes: |
− | </head>
| + | var iframes = document.querySelectorAll("iframe"); |
− | <body>
| + | for( var i = 0; i < iframes.length; i++) { |
− | <noscript>You need to enable JavaScript to run this app.</noscript>
| + | resizeIFrameToFitContent( iframes[i] ); |
− | <div id="root"></div>
| + | } |
− | <script>
| + | } ); |
− | !(function(f) {
| + | |
− | function e(e) {
| + | </script> |
− | for (
| + | |
− | var r, n, t = e[0], o = e[1], u = e[2], i = 0, l = [];
| + | <iframe width="100%" id="iFrame1" src="/plugins/abctunebook/index.html"></iframe></html> |
− | i < t.length;
| |
− | i++
| |
− | )
| |
− | (n = t[i]), p[n] && l.push(p[n][0]), (p[n] = 0);
| |
− | for (r in o)
| |
− | Object.prototype.hasOwnProperty.call(o, r) &&
| |
− | (f[r] = o[r]);
| |
− | for (s && s(e); l.length; ) l.shift()();
| |
− | return c.push.apply(c, u || []), a();
| |
− | }
| |
− | function a() {
| |
− | for (var e, r = 0; r < c.length; r++) {
| |
− | for (var n = c[r], t = !0, o = 1; o < n.length; o++) {
| |
− | var u = n[o];
| |
− | 0 !== p[u] && (t = !1);
| |
− | }
| |
− | t && (c.splice(r--, 1), (e = i((i.s = n[0]))));
| |
− | }
| |
− | return e;
| |
− | }
| |
− | var n = {},
| |
− | p = { 2: 0 },
| |
− | c = [];
| |
− | function i(e) {
| |
− | if (n[e]) return n[e].exports;
| |
− | var r = (n[e] = { i: e, l: !1, exports: {} });
| |
− | return (
| |
− | f[e].call(r.exports, r, r.exports, i),
| |
− | (r.l = !0),
| |
− | r.exports
| |
− | );
| |
− | }
| |
− | (i.m = f),
| |
− | (i.c = n),
| |
− | (i.d = function(e, r, n) {
| |
− | i.o(e, r) ||
| |
− | Object.defineProperty(e, r, {
| |
− | enumerable: !0,
| |
− | get: n
| |
− | });
| |
− | }),
| |
− | (i.r = function(e) {
| |
− | "undefined" != typeof Symbol &&
| |
− | Symbol.toStringTag &&
| |
− | Object.defineProperty(e, Symbol.toStringTag, {
| |
− | value: "Module"
| |
− | }),
| |
− | Object.defineProperty(e, "__esModule", {
| |
− | value: !0
| |
− | });
| |
− | }),
| |
− | (i.t = function(r, e) {
| |
− | if ((1 & e && (r = i(r)), 8 & e)) return r;
| |
− | if (4 & e && "object" == typeof r && r && r.__esModule)
| |
− | return r;
| |
− | var n = Object.create(null);
| |
− | if (
| |
− | (i.r(n),
| |
− | Object.defineProperty(n, "default", {
| |
− | enumerable: !0,
| |
− | value: r
| |
− | }),
| |
− | 2 & e && "string" != typeof r)
| |
− | )
| |
− | for (var t in r)
| |
− | i.d(
| |
− | n,
| |
− | t,
| |
− | function(e) {
| |
− | return r[e];
| |
− | }.bind(null, t)
| |
− | );
| |
− | return n;
| |
− | }),
| |
− | (i.n = function(e) {
| |
− | var r =
| |
− | e && e.__esModule
| |
− | ? function() {
| |
− | return e.default;
| |
− | }
| |
− | : function() {
| |
− | return e;
| |
− | };
| |
− | return i.d(r, "a", r), r;
| |
− | }),
| |
− | (i.o = function(e, r) {
| |
− | return Object.prototype.hasOwnProperty.call(e, r);
| |
− | }),
| |
− | (i.p = "/plugins/abctunebook/");
| |
− | var r = (window.webpackJsonp = window.webpackJsonp || []),
| |
− | t = r.push.bind(r);
| |
− | (r.push = e), (r = r.slice());
| |
− | for (var o = 0; o < r.length; o++) e(r[o]);
| |
− | var s = t;
| |
− | a();
| |
− | })([]);</script
| |
− | ><script src="/plugins/abctunebook/static/js/file1.js"></script
| |
− | ><script src="/plugins/abctunebook/static/js/main.js"></script>
| |
− | </body>
| |
− | </html> | |