This package has been deprecated

Author message:

This package has been renamed to netstack.js.

@elmah.io/stacktrace.js

1.0.4 • Public • Published

stacktrace.js

A simple and easy jQuery plugin for highlighting .NET stack traces

Demo

stackTrace.js - demo

Initialization

$('.stacktrace').stackTrace();

Default values for classes

$('.stacktrace').stackTrace({
    frame: 'st-frame',
    type: 'st-type',
    method: 'st-method',
    paramsList: 'st-frame-params',
    paramType: 'st-param-type',
    paramName: 'st-param-name',
    file: 'st-file',
    line: 'st-line'
});

Ready to go css

pre, code {background-color:#333; color: #ffffff;}
.st-type {color: #0a8472; font-weight: bolder;}
.st-method {color: #70c9ba; font-weight: bolder;}
.st-frame-params {color: #ffffff; font-weight: normal;}
.st-param-type {color: #0a8472;}
.st-param-name {color: #ffffff;}
.st-file {color:#f8b068;}
.st-line {color:#ff4f68;}

Package Sidebar

Install

npm i @elmah.io/stacktrace.js

Weekly Downloads

0

Version

1.0.4

License

Apache-2.0

Unpacked Size

202 kB

Total Files

5

Last publish

Collaborators

  • elmah.io