mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Scribunto
synced 2024-11-23 15:56:55 +00:00
Update jscs configuration
Change-Id: I1da096b453413ae0faa06b551e35d270c78e0c41
This commit is contained in:
parent
b423ed3eba
commit
0fd4cfb6b1
1
.jscsrc
1
.jscsrc
|
@ -3,7 +3,6 @@
|
|||
"disallowEmptyBlocks": {
|
||||
"allExcept": [ "comments" ]
|
||||
},
|
||||
"jsDoc": false,
|
||||
"requireDotNotation": {
|
||||
"allExcept": [ "keywords" ]
|
||||
}
|
||||
|
|
|
@ -41,6 +41,7 @@
|
|||
|
||||
/**
|
||||
* Use onkeydown because IE doesn't support onkeypress for arrow keys
|
||||
*
|
||||
* @param {jQuery.Event} e
|
||||
*/
|
||||
function inputKeydown( e ) {
|
||||
|
@ -70,9 +71,6 @@
|
|||
setTimeout( recalculateInputHeight, 0 );
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {jQuery.Event} e
|
||||
*/
|
||||
function inputFocus() {
|
||||
if ( sessionContent === null ) {
|
||||
// No previous state to clear
|
||||
|
@ -337,9 +335,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {jQuery.Event} e
|
||||
*/
|
||||
function onClearClick() {
|
||||
$( '#mw-scribunto-output' ).empty();
|
||||
clearNextRequest = true;
|
||||
|
@ -404,4 +399,4 @@
|
|||
}
|
||||
} );
|
||||
|
||||
} )( jQuery, mediaWiki );
|
||||
}( jQuery, mediaWiki ) );
|
||||
|
|
Loading…
Reference in a new issue