Follows up I6f760f7c32e2e6ed2008e897af72fb9e17dd663b
Suppress warning at the specific line that uses the static keyword
rather than the entire file.
> Expected an identifier and instead saw 'static' (a reserved word). (W024)
Change-Id: I0e4f9062b01b82893205da9e72c41acae3d6967f
* @license The MIT License (MIT); see LICENSE.txt
*/
/*global moment */
-/*jshint es3: false */
( function ( $, mw ) {
/**
*/
mw.widgets.CalendarWidget.prototype.onKeyDown = function ( e ) {
var
+ /*jshint -W024*/
dir = OO.ui.Element.static.getDir( this.$element ),
+ /*jshint +W024*/
nextDirectionKey = dir === 'ltr' ? OO.ui.Keys.RIGHT : OO.ui.Keys.LEFT,
prevDirectionKey = dir === 'ltr' ? OO.ui.Keys.LEFT : OO.ui.Keys.RIGHT,
updateInDirection = null;