Junk

  • Revision slug: Sandbox
  • Revision title: Sandbox
  • Revision id: 31173
  • Created:
  • Creator: user01
  • Is current revision? No
  • Comment 32 words added, 136 words removed

Revision Content

{{ localize('System.API.page-generated-for-subpage') }}

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
<meta http-equiv="Content-Script-Type" content="text/javascript">
<title>Stack Trace Example</title>
<body>
    <script type="text/javascript">
        function trace() {
            try {
                throw new Error("myError");
            }
            catch(e) {
                alert(e.stack);
            }
        }
        function b() {
            trace();
        }
        function a() {
            b(3, 4, "\n\n", undefined, {});
        }
        a("first call, firstarg");
    </script>

Revision Source

<p>{{ localize('System.API.page-generated-for-subpage') }}</p>
<pre class="brush: html">&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=windows-1251"&gt;
&lt;meta http-equiv="Content-Script-Type" content="text/javascript"&gt;
&lt;title&gt;Stack Trace Example&lt;/title&gt;
&lt;body&gt;
    &lt;script type="text/javascript"&gt;
        function trace() {
            try {
                throw new Error("myError");
            }
            catch(e) {
                alert(e.stack);
            }
        }
        function b() {
            trace();
        }
        function a() {
            b(3, 4, "\n\n", undefined, {});
        }
        a("first call, firstarg");
    &lt;/script&gt;
</pre>
Revert to this revision