1 | <!DOCTYPE html>
|
2 | <html lang="en-us">
|
3 |
|
4 | <head>
|
5 | <meta charset="utf-8">
|
6 | <title>console-log-div</title>
|
7 | <script src="../bower_components/es5-shim/es5-shim.js"></script>
|
8 | <style>
|
9 | .console-log-div {
|
10 | border: 1px solid gray;
|
11 | padding: 5px 10px;
|
12 | border-radius: 5px;
|
13 | width: 95% !important;
|
14 | background-color: #efefef;
|
15 | }
|
16 | </style>
|
17 | </head>
|
18 | <body>
|
19 | <h2>console-log-div</h2>
|
20 | <p>A new div will be created automatically and will mirror <code>console.log</code> calls</p>
|
21 |
|
22 | <script src="../console-log-div.js"></script>
|
23 |
|
24 | <script>
|
25 | console.log('this is console.log message');
|
26 | console.log('foo');
|
27 | </script>
|
28 |
|
29 | </body>
|
30 | </html>
|