File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -218,9 +218,12 @@ class Frame {
218
218
219
219
/// Parses a Firefox 'eval' or 'function' stack frame.
220
220
///
221
- /// for example:
221
+ /// For example:
222
+ ///
223
+ /// ```
222
224
/// anonymous/<@https://example.com/stuff.js line 693 > Function:3:40
223
225
/// anonymous/<@https://example.com/stuff.js line 693 > eval:3:40
226
+ /// ```
224
227
factory Frame ._parseFirefoxEval (String frame) =>
225
228
_catchFormatException (frame, () {
226
229
final match = _firefoxEvalLocation.firstMatch (frame);
Original file line number Diff line number Diff line change @@ -31,9 +31,12 @@ final _v8TraceLine = RegExp(r' ?at ');
31
31
///
32
32
/// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error/stack
33
33
///
34
- /// These stack traces looks like:
35
- /// anonymous/<@https://example.com/stuff.js line 693 > Function:3:40
36
- /// anonymous/<@https://example.com/stuff.js line 693 > eval:3:40
34
+ /// These stack traces look like:
35
+ ///
36
+ /// ````
37
+ /// anonymous/<@https://example.com/stuff.js line 693 > Function:3:40
38
+ /// anonymous/<@https://example.com/stuff.js line 693 > eval:3:40
39
+ /// ````
37
40
final _firefoxEvalTrace = RegExp (r'@\S+ line \d+ >.* (Function|eval):\d+:\d+' );
38
41
39
42
/// A RegExp to match Firefox and Safari's stack traces.
You can’t perform that action at this time.
0 commit comments