mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-22 16:19:48 +02:00
no-native-reassign -> no-global-assign
This commit is contained in:
@@ -15,7 +15,7 @@ describe('iD.serviceMapillary', function() {
|
||||
mapillary = iD.services.mapillary;
|
||||
mapillary.reset();
|
||||
|
||||
/* eslint-disable no-native-reassign */
|
||||
/* eslint-disable no-global-assign */
|
||||
/* mock userAgent */
|
||||
if (isPhantom) {
|
||||
orig = navigator;
|
||||
@@ -35,7 +35,7 @@ describe('iD.serviceMapillary', function() {
|
||||
} else {
|
||||
navigator.__defineGetter__('userAgent', orig);
|
||||
}
|
||||
/* eslint-enable no-native-reassign */
|
||||
/* eslint-enable no-global-assign */
|
||||
});
|
||||
|
||||
|
||||
|
||||
+2
-2
@@ -5,7 +5,7 @@ describe('iD.uiCmd', function () {
|
||||
uaMock = function () { return ua; };
|
||||
|
||||
beforeEach(function() {
|
||||
/* eslint-disable no-native-reassign */
|
||||
/* eslint-disable no-global-assign */
|
||||
/* mock userAgent */
|
||||
if (isPhantom) {
|
||||
orig = navigator;
|
||||
@@ -23,7 +23,7 @@ describe('iD.uiCmd', function () {
|
||||
} else {
|
||||
navigator.__defineGetter__('userAgent', orig);
|
||||
}
|
||||
/* eslint-enable no-native-reassign */
|
||||
/* eslint-enable no-global-assign */
|
||||
});
|
||||
|
||||
it('does not overwrite mac keybindings', function () {
|
||||
|
||||
Reference in New Issue
Block a user