MCPcopy Index your code
hub / github.com/Yaffle/EventSource / sourceFromStacktrace

Function sourceFromStacktrace

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

Source from the content-addressed store, hash-verified

964 }
965}
966function sourceFromStacktrace( offset ) {
967 try {
968 throw new Error();
969 } catch ( e ) {
970 return extractStacktrace( e, offset );
971 }
972}
973
974/**
975 * Escape text for attribute or text content.

Callers 1

qunit.jsFile · 0.85

Calls 1

extractStacktraceFunction · 0.85

Tested by

no test coverage detected