Skip to content

Commit b147316

Browse files
committed
Remove remaining references to fetchContext/remoteFetching/linesOfContext
1 parent 0a727d0 commit b147316

File tree

3 files changed

+0
-17
lines changed

3 files changed

+0
-17
lines changed

src/raven.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff 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

test/raven.test.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ var SENTRY_DSN = 'http://[email protected]:80/2';
3030

3131
function 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 = /^http:\/\/example\.com/;
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 = /^http:\/\/example\.com/;
315309

316310
assert.deepEqual(Raven._normalizeFrame(frame), {

vendor/TraceKit/tracekit.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,7 @@ var isUndefined = utils.isUndefined;
1212
*/
1313

1414
var 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

0 commit comments

Comments
 (0)