MCPcopy Create free account
hub / github.com/boost-ext/sml / sourceFromStacktrace

Function sourceFromStacktrace

doc/cppnow-2016/test/qunit-1.12.0.js:1403–1409  ·  view source on GitHub ↗
( offset )

Source from the content-addressed store, hash-verified

1401 }
1402}
1403function sourceFromStacktrace( offset ) {
1404 try {
1405 throw new Error();
1406 } catch ( e ) {
1407 return extractStacktrace( e, offset );
1408 }
1409}
1410
1411/**
1412 * Escape text for attribute or text content.

Callers 1

qunit-1.12.0.jsFile · 0.70

Calls 1

extractStacktraceFunction · 0.70

Tested by

no test coverage detected