Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"no-unused-vars": [2, {"args": "none"}],
"no-with": 2,
"semi": [0, "never"],
"strict": [2, "global"],
"strict": [2, "never"],
"valid-typeof": 2
},
"extends": [
Expand Down
3 changes: 1 addition & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
'use strict';

'use strict'; // eslint-disable-line
module.exports = function(grunt) {
var path = require('path');
var os = require('os');
Expand Down
2 changes: 0 additions & 2 deletions plugins/angular.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
*
* Provides an $exceptionHandler for Angular.js
*/
'use strict';

var wrappedCallback = require('../src/utils').wrappedCallback;

// See https://github.com/angular/angular.js/blob/v1.4.7/src/minErr.js
Expand Down
2 changes: 0 additions & 2 deletions plugins/console.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
* `levels`: An array of levels (methods on `console`) to report to Sentry.
* Defaults to debug, info, warn, and error.
*/
'use strict';

var wrapConsoleMethod = require('../src/console').wrapMethod;

function consolePlugin(Raven, console, pluginOptions) {
Expand Down
2 changes: 0 additions & 2 deletions plugins/ember.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
*
* Patches event handler callbacks and ajax callbacks.
*/
'use strict';

function emberPlugin(Raven, Ember) {
Ember = Ember || window.Ember;

Expand Down
2 changes: 0 additions & 2 deletions plugins/react-native.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
* data payload will be passed as the first argument of the callback.
*
*/
'use strict';

var wrappedCallback = require('../src/utils').wrappedCallback;

// Example React Native path format (iOS):
Expand Down
2 changes: 0 additions & 2 deletions plugins/require.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
*
* Automatically wrap define/require callbacks. (Experimental)
*/
'use strict';

function requirePlugin(Raven) {
if (typeof define === 'function' && define.amd) {
window.define = Raven.wrap({deep: false}, define);
Expand Down
1 change: 0 additions & 1 deletion plugins/vue.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
* Vue.js 2.0 plugin
*
*/
'use strict';

function formatComponentName(vm) {
if (vm.$root === vm) {
Expand Down
2 changes: 0 additions & 2 deletions src/configError.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

function RavenConfigError(message) {
this.name = 'RavenConfigError';
this.message = message;
Expand Down
2 changes: 0 additions & 2 deletions src/console.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

var wrapMethod = function(console, level, callback) {
var originalConsoleLevel = console[level];
var originalConsole = console;
Expand Down
1 change: 0 additions & 1 deletion src/raven.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*global XDomainRequest:false, __DEV__:false*/
'use strict';

var TraceKit = require('../vendor/TraceKit/tracekit');
var stringify = require('../vendor/json-stringify-safe/stringify');
Expand Down
2 changes: 0 additions & 2 deletions src/singleton.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
* Raven library, you SHOULD load this file (vs raven.js).
**/

'use strict';

var RavenConstructor = require('./raven');

// This is to be defensive in environments where window does not exist (see https://github.com/getsentry/raven-js/pull/785)
Expand Down
2 changes: 0 additions & 2 deletions src/utils.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

function isObject(what) {
return typeof what === 'object' && what !== null;
}
Expand Down
2 changes: 0 additions & 2 deletions vendor/TraceKit/tracekit.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

var utils = require('../../src/utils');

/*
Expand Down
2 changes: 0 additions & 2 deletions vendor/json-stringify-safe/stringify.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict';

/*
json-stringify-safe
Like JSON.stringify, but doesn't throw on circular references.
Expand Down