Skip to content

Commit d2c647e

Browse files
committed
Merge pull request #499 from getsentry/ugh
Fix `normalized.function` call in IE8
2 parents 2ad6ac2 + cd1bc44 commit d2c647e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.eslintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"dot-notation": [
1515
2,
1616
{
17-
"allowKeywords": true
17+
"allowKeywords": false
1818
}
1919
],
2020
"eqeqeq": [

src/raven.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,7 @@ Raven.prototype = {
791791
// first we check the global includePaths list.
792792
!!this._globalOptions.includePaths.test && !this._globalOptions.includePaths.test(normalized.filename) ||
793793
// Now we check for fun, if the function name is Raven or TraceKit
794-
/(Raven|TraceKit)\./.test(normalized.function) ||
794+
/(Raven|TraceKit)\./.test(normalized['function']) ||
795795
// finally, we do a last ditch effort and check for raven.min.js
796796
/raven\.(min\.)?js$/.test(normalized.filename)
797797
);

0 commit comments

Comments
 (0)