mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-25 06:47:16 +00:00
Disabled ESlint for search suggestions since it is on ES6
This commit is contained in:
parent
509acf94b4
commit
a2a39b9e5e
|
@ -2,8 +2,7 @@
|
|||
* Based on https://gerrit.wikimedia.org/g/wikimedia/portals/+/refs/heads/master
|
||||
* See T219590 for more details
|
||||
*/
|
||||
|
||||
/* eslint-env node, es6 */
|
||||
/* eslint-disable */
|
||||
/* global WMTypeAhead, _, addEvent */
|
||||
( function ( WMTypeAhead ) {
|
||||
|
||||
|
|
|
@ -2,14 +2,10 @@
|
|||
* Based on https://gerrit.wikimedia.org/g/wikimedia/portals/+/refs/heads/master
|
||||
* See T219590 for more details
|
||||
*/
|
||||
|
||||
/* eslint-env node, es6 */
|
||||
|
||||
/**
|
||||
* Below are additional dependency extracted from polyfills.js
|
||||
* TODO: Optimize and clear unneeded code
|
||||
*/
|
||||
|
||||
/**
|
||||
* Detects reported or approximate device pixel ratio.
|
||||
* * 1.0 means 1 CSS pixel is 1 hardware pixel
|
||||
|
@ -20,6 +16,7 @@
|
|||
*
|
||||
* @return {number} Device pixel ratio
|
||||
*/
|
||||
/* eslint-disable */
|
||||
function getDevicePixelRatio() {
|
||||
|
||||
if ( window.devicePixelRatio !== undefined ) {
|
||||
|
|
Loading…
Reference in a new issue