build: Replace jscs+jshint with eslint

Change-Id: I7f114267fbb4efd62a9162758445cff4fb3c0973
This commit is contained in:
Ed Sanders
2016-11-02 21:56:31 +00:00
parent 4bd38a0fcf
commit 811944c49a
14 changed files with 69 additions and 100 deletions

View File

@@ -194,6 +194,9 @@
/**
* The tooltip to be shown when language changed using ULS.
* It also allows to undo the language selection.
*
* @param {string} previousLang
* @param {string} previousAutonym
*/
function showUndoTooltip( previousLang, previousAutonym ) {
var $ulsTrigger, ulsPopup,
@@ -258,7 +261,7 @@
padded: true,
width: 300,
align: 'forwards',
classes: [ 'uls-tipsy' ],
classes: [ 'uls-tipsy' ],
$content: ( function () {
var link = $( '<a>' ).text( previousAutonym )
.attr( {