MCPcopy
hub / github.com/playcanvas/engine / sourceFromStacktrace

Function sourceFromStacktrace

tests/qunit/qunit.js:1244–1250  ·  view source on GitHub ↗
( offset )

Source from the content-addressed store, hash-verified

1242 }
1243}
1244function sourceFromStacktrace( offset ) {
1245 try {
1246 throw new Error();
1247 } catch ( e ) {
1248 return extractStacktrace( e, offset );
1249 }
1250}
1251
1252function escapeInnerText( s ) {
1253 if ( !s ) {

Callers 1

qunit.jsFile · 0.85

Calls 1

extractStacktraceFunction · 0.85

Tested by

no test coverage detected