page.html 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <meta http-equiv="X-UA-Compatible" content="ie=edge">
  7. <title><%= htmlWebpackPlugin.options.title %></title>
  8. <script>
  9. if (!Function.prototype.bind) {
  10. Function.prototype.bind = function (oThis) {
  11. if (typeof this !== "function") {
  12. throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");
  13. }
  14. var aArgs = Array.prototype.slice.call(arguments, 1),
  15. fToBind = this,
  16. fNOP = function () {},
  17. fBound = function () {
  18. return fToBind.apply(this instanceof fNOP && oThis ? this : oThis,
  19. aArgs.concat(Array.prototype.slice.call(arguments)));
  20. };
  21. fNOP.prototype = this.prototype;
  22. fBound.prototype = new fNOP();
  23. return fBound;
  24. };
  25. }
  26. </script>
  27. </head>
  28. <body>
  29. <div class="iframeContainer">
  30. <iframe class="iframeContainer" src="./index.html" frameborder="0"></iframe>
  31. </div>
  32. </body>
  33. </html>