mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-24 07:34:22 +00:00
Merge "build: Updating npm dependencies"
This commit is contained in:
commit
8e3007bd72
|
@ -10,5 +10,8 @@
|
|||
},
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 9
|
||||
},
|
||||
"rules": {
|
||||
"es-x/no-hashbang": "warn"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -34,12 +34,14 @@
|
|||
return deferred.promise();
|
||||
};
|
||||
// popups require title attributes
|
||||
document.querySelectorAll( '.mwe-math-element[data-qid] img' )
|
||||
.forEach( function ( node ) {
|
||||
[].forEach.call(
|
||||
document.querySelectorAll( '.mwe-math-element[data-qid] img' ),
|
||||
function ( node ) {
|
||||
if ( isValidId( node.parentNode.parentNode.dataset.qid ) ) {
|
||||
node.dataset.title = 'math-unique-identifier';
|
||||
}
|
||||
} );
|
||||
}
|
||||
);
|
||||
module.exports = {
|
||||
type: previewType,
|
||||
selector: '.mwe-math-element[data-qid] img',
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
"wikimedia/server"
|
||||
],
|
||||
"rules": {
|
||||
"max-len": "off"
|
||||
"max-len": "off",
|
||||
"es-x/no-hashbang": "warn"
|
||||
}
|
||||
}
|
952
package-lock.json
generated
952
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -17,7 +17,7 @@
|
|||
"@wdio/spec-reporter": "7.16.13",
|
||||
"api-testing": "1.5.0",
|
||||
"commander": "^9.4.1",
|
||||
"eslint-config-wikimedia": "0.22.1",
|
||||
"eslint-config-wikimedia": "0.24.0",
|
||||
"grunt": "1.5.3",
|
||||
"grunt-banana-checker": "0.10.0",
|
||||
"grunt-contrib-watch": "1.1.0",
|
||||
|
|
Loading…
Reference in a new issue