Skip to content

Commit f64010f

Browse files
committed
removed trailing spaces in the empty lines in mode function.
1 parent e76a10f commit f64010f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

stacktrace.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -69,19 +69,19 @@
6969
if (e['arguments'] && e.stack) {
7070
return 'chrome';
7171
}
72-
72+
7373
if (e.stack && e.sourceURL) {
7474
return 'safari';
7575
}
76-
76+
7777
if (e.stack && e.number) {
7878
return 'ie';
7979
}
80-
80+
8181
if (e.stack && e.fileName) {
8282
return 'firefox';
8383
}
84-
84+
8585
if (e.message && e['opera#sourceloc']) {
8686
// e.message.indexOf("Backtrace:") > -1 -> opera9
8787
// 'opera#sourceloc' in e -> opera9, opera10a
@@ -95,7 +95,7 @@
9595
}
9696
return 'opera10a'; // use e.stacktrace
9797
}
98-
98+
9999
if (e.message && e.stack && e.stacktrace) {
100100
// e.stacktrace && e.stack -> opera10b
101101
if (e.stacktrace.indexOf("called from line") < 0) {
@@ -104,13 +104,13 @@
104104
// e.stacktrace && e.stack -> opera11
105105
return 'opera11'; // use e.stacktrace, format differs from 'opera10a', 'opera10b'
106106
}
107-
107+
108108
if (e.stack && !e.fileName) {
109109
// Chrome 27 does not have e.arguments as earlier versions,
110110
// but still does not have e.fileName as Firefox
111111
return 'chrome';
112112
}
113-
113+
114114
return 'other';
115115
},
116116

0 commit comments

Comments
 (0)