All: Remove inline JSHint settings.

(cherry picked from commit fadf2b312a)
This commit is contained in:
Scott González 2013-04-22 12:35:21 -04:00
parent b147d00ce1
commit 215b19d127
6 changed files with 0 additions and 6 deletions

View File

@ -167,7 +167,6 @@ $.widget( "ui.accordion", {
}, },
_keydown: function( event ) { _keydown: function( event ) {
/*jshint maxcomplexity:15*/
if ( event.altKey || event.ctrlKey ) { if ( event.altKey || event.ctrlKey ) {
return; return;
} }

View File

@ -77,7 +77,6 @@ $.widget( "ui.autocomplete", {
this._on( this.element, { this._on( this.element, {
keydown: function( event ) { keydown: function( event ) {
/*jshint maxcomplexity:15*/
if ( this.element.prop( "readOnly" ) ) { if ( this.element.prop( "readOnly" ) ) {
suppressKeyPress = true; suppressKeyPress = true;
suppressInput = true; suppressInput = true;

View File

@ -556,7 +556,6 @@ $.widget( "ui.dialog", {
}, },
_setOption: function( key, value ) { _setOption: function( key, value ) {
/*jshint maxcomplexity:15*/
var isDraggable, isResizable, var isDraggable, isResizable,
uiDialog = this.uiDialog; uiDialog = this.uiDialog;

View File

@ -174,7 +174,6 @@ $.widget( "ui.menu", {
}, },
_keydown: function( event ) { _keydown: function( event ) {
/*jshint maxcomplexity:20*/
var match, prev, character, skip, regex, var match, prev, character, skip, regex,
preventDefault = true; preventDefault = true;

View File

@ -589,7 +589,6 @@ $.widget( "ui.slider", $.ui.mouse, {
_handleEvents: { _handleEvents: {
keydown: function( event ) { keydown: function( event ) {
/*jshint maxcomplexity:25*/
var allowed, curVal, newVal, step, var allowed, curVal, newVal, step,
index = $( event.target ).data( "ui-slider-handle-index" ); index = $( event.target ).data( "ui-slider-handle-index" );

View File

@ -150,7 +150,6 @@ $.widget( "ui.tabs", {
}, },
_tabKeydown: function( event ) { _tabKeydown: function( event ) {
/*jshint maxcomplexity:15*/
var focusedTab = $( this.document[0].activeElement ).closest( "li" ), var focusedTab = $( this.document[0].activeElement ).closest( "li" ),
selectedIndex = this.tabs.index( focusedTab ), selectedIndex = this.tabs.index( focusedTab ),
goingForward = true; goingForward = true;