netstack.js 1.1.0 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/images/example.jpg +0 -0
- package/images/flags/USA-flag.png +0 -0
- package/netstack.js +6 -6
- package/package.json +1 -1
package/images/example.jpg
CHANGED
|
Binary file
|
|
Binary file
|
package/netstack.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* netStack v1.1.
|
|
2
|
+
* netStack v1.1.2
|
|
3
3
|
* A simple and easy jQuery plugin for highlighting .NET stack traces
|
|
4
4
|
* License : Apache 2
|
|
5
5
|
* Author : https://elmah.io
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
repl: null
|
|
36
36
|
},
|
|
37
37
|
{
|
|
38
|
-
find: new RegExp('(\\s
|
|
38
|
+
find: new RegExp('(\\s)'+at_language+' ([^-:]*?)\\((.*?)\\)', 'g'),
|
|
39
39
|
repl: null
|
|
40
40
|
}
|
|
41
41
|
]
|
|
@@ -85,10 +85,10 @@
|
|
|
85
85
|
for (var i = 0, j = lines.length; i < j; ++i) {
|
|
86
86
|
if(lang === '') {
|
|
87
87
|
var line = lines[i];
|
|
88
|
-
var english = new RegExp('(\\s
|
|
89
|
-
danish = new RegExp('(\\s
|
|
90
|
-
german = new RegExp('(\\s
|
|
91
|
-
russian = new RegExp('(\\s
|
|
88
|
+
var english = new RegExp('(\\s+)at .*\\)'),
|
|
89
|
+
danish = new RegExp('(\\s+)ved .*\\)'),
|
|
90
|
+
german = new RegExp('(\\s+)bei .*\\)'),
|
|
91
|
+
russian = new RegExp('(\\s+)в .*\\)');
|
|
92
92
|
|
|
93
93
|
if(english.test(lines[i])) {
|
|
94
94
|
lang = 'english';
|