build: Update devDependencies
eslint-config-wikimedia 0.8.1 → 0.9.0 grunt-contrib-watch 1.0.0 → 1.1.0 grunt-stylelint 0.10.0 → 0.10.1 Change-Id: I3c8ad96f006ab4501e30d0884ae620b30f23fca8
This commit is contained in:
parent
6627078c08
commit
dc5077dbae
|
@ -1,13 +1,12 @@
|
|||
{
|
||||
"root": true,
|
||||
"extends": "wikimedia",
|
||||
"env": {
|
||||
"browser": true
|
||||
},
|
||||
"extends": [
|
||||
"wikimedia/client",
|
||||
"wikimedia/jquery"
|
||||
],
|
||||
"globals": {
|
||||
"OO": false,
|
||||
"mw": false,
|
||||
"$": false,
|
||||
"Hogan": false,
|
||||
"require": false
|
||||
},
|
||||
|
@ -18,31 +17,6 @@
|
|||
"property": "noop",
|
||||
"message": "Use function() {}"
|
||||
},
|
||||
{
|
||||
"object": "$",
|
||||
"property": "isFunction",
|
||||
"message": "Please use typeof"
|
||||
},
|
||||
{
|
||||
"object": "$",
|
||||
"property": "map",
|
||||
"message": "Please use Array.prototype.map instead"
|
||||
},
|
||||
{
|
||||
"object": "$",
|
||||
"property": "isArray",
|
||||
"message": "Please use Array.isArray instead"
|
||||
},
|
||||
{
|
||||
"object": "$",
|
||||
"property": "grep",
|
||||
"message": "Please use Array.prototype.filter instead"
|
||||
},
|
||||
{
|
||||
"object": "$",
|
||||
"property": "trim",
|
||||
"message": "Please use String.prototype.trim instead"
|
||||
},
|
||||
{
|
||||
"property": "done",
|
||||
"message": "The method `done` if used with Deferred objects is incompatible with ES6 Promises. Please use `then`."
|
||||
|
|
|
@ -6,15 +6,14 @@
|
|||
},
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"eslint-config-wikimedia": "0.8.1",
|
||||
"eslint-plugin-qunit": "3.3.1",
|
||||
"eslint-config-wikimedia": "0.9.0",
|
||||
"grunt": "1.0.3",
|
||||
"grunt-banana-checker": "0.6.0",
|
||||
"grunt-contrib-watch": "1.0.0",
|
||||
"grunt-contrib-watch": "1.1.0",
|
||||
"grunt-eslint": "21.0.0",
|
||||
"grunt-jsonlint": "1.1.0",
|
||||
"grunt-notify": "0.4.5",
|
||||
"grunt-stylelint": "0.10.0",
|
||||
"grunt-stylelint": "0.10.1",
|
||||
"jsdoc": "3.5.5",
|
||||
"pre-commit": "1.2.2",
|
||||
"stylelint-config-wikimedia": "0.5.0",
|
||||
|
|
|
@ -107,7 +107,7 @@
|
|||
var self = this,
|
||||
mainMenu = this.options.mainMenu;
|
||||
|
||||
this.$el.on( 'click', $.proxy( this.onClickBadge, this ) );
|
||||
this.$el.on( 'click', this.onClickBadge.bind( this ) );
|
||||
this.options.overlayManager.add( /^\/notifications$/, function () {
|
||||
return self._loadNotificationOverlay().then( function ( overlay ) {
|
||||
mainMenu.openNavigationDrawer( 'secondary' );
|
||||
|
|
Loading…
Reference in New Issue