You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit bfdbf47
Browse filesBrowse the repository at this point in the historyBrowse files
<p>A Javascript tool that allows you to debug your JavaScript by giving you a <ahref="http://en.wikipedia.org/wiki/Stack_trace">stack trace</a> of function calls leading to an error (or any condition you specify)</p>
36
-
37
-
<h1>How do I use stacktrace.js?</h1>
35
+
<h2>Simple Usage</h2>
38
36
39
37
<p>Just include stacktrace.js file on your page, and call it like so:</p>
40
38
@@ -50,7 +48,8 @@ <h1>How do I use stacktrace.js?</h1>
50
48
<spanclass="nt"></script></span>
51
49
</pre></div>
52
50
53
-
<p>You can also pass in your own Error to get a stacktrace <em>not available in IE or Safari 5-</em></p>
51
+
<h2>Custom Error Stack Traces</h2>
52
+
<p>You can also pass in your own Error to get a stacktrace <em>not available in IE 9- or Safari 5-</em></p>
<spanclass="nx">p</span><spanclass="p">.</span><spanclass="nx">deinstrumentFunction</span><spanclass="p">(</span><spanclass="k">this</span><spanclass="p">,</span><spanclass="s1">'baz'</span><spanclass="p">);</span><spanclass="c1">//Remove function instrumentation</span>
86
85
</pre></div>
87
86
88
-
<h1>What browsers does stacktrace.js support?</h1>
89
-
90
-
<p>It is currently tested and working on:</p>
91
-
87
+
<h2>Browser Support</h2>
88
+
<p>Tested working in:</p>
92
89
<ul>
93
90
<li>Firefox (and Iceweasel) 0.9+</li>
94
91
<li>Google Chrome 1+</li>
@@ -104,11 +101,11 @@ <h1>What browsers does stacktrace.js support?</h1>
104
101
</ul>
105
102
</section>
106
103
<footer>
107
-
<p><small>Hosted on <ahref="https://pages.github.com">GitHub Pages</a> using the Dinky theme</small></p>
104
+
This software is dedicated to the <ahref="http://unlicense.org/">public domain</a>. Enjoy!
0 commit comments