mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CategoryTree
synced 2024-11-27 09:43:06 +00:00
build: Bump devDependencies to latest
eslint-config-wikimedia 0.4.0 → 0.5.0 grunt 1.0.1 → 1.0.2 grunt-banana-checker 0.5.0 → 0.6.0 grunt-eslint 19.0.0 → 20.1.0 grunt-jsonlint 1.0.8 → 1.1.0 grunt-stylelint 0.6.0 → 0.9.0 stylelint 7.8.0 → 8.2.0 stylelint-config-wikimedia 0.4.1 → 0.4.2 Change-Id: Id081b31764ae923486031255cc5f24bfd6601782
This commit is contained in:
parent
9e98b1c4a5
commit
120b01696b
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"extends": "stylelint-config-wikimedia",
|
"extends": "stylelint-config-wikimedia",
|
||||||
"rules": {
|
"rules": {
|
||||||
"selector-no-id": null,
|
"selector-max-id": null,
|
||||||
"no-descending-specificity": null
|
"no-descending-specificity": null
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,8 +23,8 @@
|
||||||
.attr( 'title', function () {
|
.attr( 'title', function () {
|
||||||
return mw.msg(
|
return mw.msg(
|
||||||
$( this ).data( 'ct-state' ) === 'collapsed' ?
|
$( this ).data( 'ct-state' ) === 'collapsed' ?
|
||||||
'categorytree-expand' :
|
'categorytree-expand' :
|
||||||
'categorytree-collapse'
|
'categorytree-collapse'
|
||||||
);
|
);
|
||||||
} )
|
} )
|
||||||
.addClass( 'CategoryTreeToggleHandlerAttached' );
|
.addClass( 'CategoryTreeToggleHandlerAttached' );
|
||||||
|
@ -52,7 +52,7 @@
|
||||||
function expandNode( $link ) {
|
function expandNode( $link ) {
|
||||||
// Show the children node
|
// Show the children node
|
||||||
var $children = $link.parents( '.CategoryTreeItem' )
|
var $children = $link.parents( '.CategoryTreeItem' )
|
||||||
.siblings( '.CategoryTreeChildren' );
|
.siblings( '.CategoryTreeChildren' );
|
||||||
$children.show();
|
$children.show();
|
||||||
|
|
||||||
$link
|
$link
|
||||||
|
@ -170,7 +170,7 @@
|
||||||
attachHandler( $children );
|
attachHandler( $children );
|
||||||
|
|
||||||
} )
|
} )
|
||||||
.fail( error );
|
.fail( error );
|
||||||
}
|
}
|
||||||
|
|
||||||
// Register click events
|
// Register click events
|
||||||
|
|
16
package.json
16
package.json
|
@ -4,13 +4,13 @@
|
||||||
"test": "grunt test"
|
"test": "grunt test"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint-config-wikimedia": "0.4.0",
|
"eslint-config-wikimedia": "0.5.0",
|
||||||
"grunt": "1.0.1",
|
"grunt": "1.0.2",
|
||||||
"grunt-banana-checker": "0.5.0",
|
"grunt-banana-checker": "0.6.0",
|
||||||
"grunt-eslint": "19.0.0",
|
"grunt-eslint": "20.1.0",
|
||||||
"grunt-jsonlint": "1.0.8",
|
"grunt-jsonlint": "1.1.0",
|
||||||
"grunt-stylelint": "0.6.0",
|
"grunt-stylelint": "0.9.0",
|
||||||
"stylelint": "7.8.0",
|
"stylelint": "8.2.0",
|
||||||
"stylelint-config-wikimedia": "0.4.1"
|
"stylelint-config-wikimedia": "0.4.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue