File tree Expand file tree Collapse file tree 3 files changed +0
-17
lines changed Expand file tree Collapse file tree 3 files changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -146,14 +146,6 @@ Raven.prototype = {
146146 this . _globalEndpoint = this . _globalServer +
147147 '/' + path + 'api/' + this . _globalProject + '/store/' ;
148148
149- if ( this . _globalOptions . fetchContext ) {
150- TraceKit . remoteFetching = true ;
151- }
152-
153- if ( this . _globalOptions . linesOfContext ) {
154- TraceKit . linesOfContext = this . _globalOptions . linesOfContext ;
155- }
156-
157149 TraceKit . collectWindowErrors = ! ! this . _globalOptions . collectWindowErrors ;
158150
159151 // return for chaining
Original file line number Diff line number Diff line change @@ -30,8 +30,6 @@ var SENTRY_DSN = 'http://abc@example.com:80/2';
3030
3131function setupRaven ( ) {
3232 Raven . config ( SENTRY_DSN ) ;
33-
34- Raven . _globalOptions . fetchContext = true ;
3533}
3634
3735
@@ -254,8 +252,6 @@ describe('globals', function() {
254252 // context: [] context is stubbed
255253 } ;
256254
257- Raven . _globalOptions . fetchContext = true ;
258-
259255 assert . deepEqual ( Raven . _normalizeFrame ( frame ) , {
260256 filename : 'http://example.com/path/file.js' ,
261257 lineno : 10 ,
@@ -290,7 +286,6 @@ describe('globals', function() {
290286 func : 'lol'
291287 } ;
292288
293- Raven . _globalOptions . fetchContext = true ;
294289 Raven . _globalOptions . includePaths = / ^ h t t p : \/ \/ e x a m p l e \. c o m / ;
295290
296291 assert . deepEqual ( Raven . _normalizeFrame ( frame ) , {
@@ -310,7 +305,6 @@ describe('globals', function() {
310305 func : 'lol'
311306 } ;
312307
313- Raven . _globalOptions . fetchContext = true ;
314308 Raven . _globalOptions . includePaths = / ^ h t t p : \/ \/ e x a m p l e \. c o m / ;
315309
316310 assert . deepEqual ( Raven . _normalizeFrame ( frame ) , {
Original file line number Diff line number Diff line change @@ -12,10 +12,7 @@ var isUndefined = utils.isUndefined;
1212*/
1313
1414var TraceKit = {
15- remoteFetching : false ,
1615 collectWindowErrors : true ,
17- // 3 lines before, the offending line, 3 lines after
18- linesOfContext : 7 ,
1916 debug : false
2017} ;
2118
You can’t perform that action at this time.
0 commit comments