mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
All: Remove inline JSHint settings.
This commit is contained in:
parent
7033544cdd
commit
fadf2b312a
1
ui/jquery.ui.accordion.js
vendored
1
ui/jquery.ui.accordion.js
vendored
@ -169,7 +169,6 @@ $.widget( "ui.accordion", {
|
||||
},
|
||||
|
||||
_keydown: function( event ) {
|
||||
/*jshint maxcomplexity:15*/
|
||||
if ( event.altKey || event.ctrlKey ) {
|
||||
return;
|
||||
}
|
||||
|
1
ui/jquery.ui.autocomplete.js
vendored
1
ui/jquery.ui.autocomplete.js
vendored
@ -77,7 +77,6 @@ $.widget( "ui.autocomplete", {
|
||||
|
||||
this._on( this.element, {
|
||||
keydown: function( event ) {
|
||||
/*jshint maxcomplexity:15*/
|
||||
if ( this.element.prop( "readOnly" ) ) {
|
||||
suppressKeyPress = true;
|
||||
suppressInput = true;
|
||||
|
1
ui/jquery.ui.dialog.js
vendored
1
ui/jquery.ui.dialog.js
vendored
@ -556,7 +556,6 @@ $.widget( "ui.dialog", {
|
||||
},
|
||||
|
||||
_setOption: function( key, value ) {
|
||||
/*jshint maxcomplexity:15*/
|
||||
var isDraggable, isResizable,
|
||||
uiDialog = this.uiDialog;
|
||||
|
||||
|
1
ui/jquery.ui.menu.js
vendored
1
ui/jquery.ui.menu.js
vendored
@ -174,7 +174,6 @@ $.widget( "ui.menu", {
|
||||
},
|
||||
|
||||
_keydown: function( event ) {
|
||||
/*jshint maxcomplexity:20*/
|
||||
var match, prev, character, skip, regex,
|
||||
preventDefault = true;
|
||||
|
||||
|
1
ui/jquery.ui.slider.js
vendored
1
ui/jquery.ui.slider.js
vendored
@ -593,7 +593,6 @@ $.widget( "ui.slider", $.ui.mouse, {
|
||||
|
||||
_handleEvents: {
|
||||
keydown: function( event ) {
|
||||
/*jshint maxcomplexity:25*/
|
||||
var allowed, curVal, newVal, step,
|
||||
index = $( event.target ).data( "ui-slider-handle-index" );
|
||||
|
||||
|
1
ui/jquery.ui.tabs.js
vendored
1
ui/jquery.ui.tabs.js
vendored
@ -150,7 +150,6 @@ $.widget( "ui.tabs", {
|
||||
},
|
||||
|
||||
_tabKeydown: function( event ) {
|
||||
/*jshint maxcomplexity:15*/
|
||||
var focusedTab = $( this.document[0].activeElement ).closest( "li" ),
|
||||
selectedIndex = this.tabs.index( focusedTab ),
|
||||
goingForward = true;
|
||||
|
Loading…
Reference in New Issue
Block a user