Skip to content

Commit a92b060

Browse files
authored
Remove _newImage helper (not used/deprecated) (#640)
1 parent cb86145 commit a92b060

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/raven.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1299,13 +1299,6 @@ Raven.prototype = {
12991299
request.send(JSON.stringify(opts.data));
13001300
},
13011301

1302-
// Note: this is shitty, but I can't figure out how to get
1303-
// sinon to stub document.createElement without breaking everything
1304-
// so this wrapper is just so I can stub it for tests.
1305-
_newImage: function() {
1306-
return document.createElement('img');
1307-
},
1308-
13091302
_logDebug: function(level) {
13101303
if (this._originalConsoleMethods[level] && this.debug) {
13111304
// In IE<10 console methods do not have their own 'apply' method

0 commit comments

Comments
 (0)