Skip to content

Instantly share code, notes, and snippets.

@JesterXL
Created August 4, 2014 19:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JesterXL/dec315b4b1857071cb85 to your computer and use it in GitHub Desktop.
Save JesterXL/dec315b4b1857071cb85 to your computer and use it in GitHub Desktop.
StacktraceService
// Why? For production level stack traces for a variety of devices.
factory("StacktraceService",
function($window)
{
// [jwarden 2014] NOTE: She's a global method based on stacktrace.js, but if we change her,
// we can just change the method.
return({
printStackTrace: printStackTrace
});
}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment