Skip to content

Commit eb4178f

Browse files
committed
Fixed some jshint errors.
1 parent 8b76684 commit eb4178f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ui/jquery.ui.effect.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ each( stepHooks, function( i, hook ) {
619619
}
620620
try {
621621
elem.style[ hook ] = value;
622-
} catch( value ) {
622+
} catch( error ) {
623623
// wrapped to prevent IE from throwing errors on "invalid" values like 'auto' or 'inherit'
624624
}
625625
}

ui/jquery.ui.tabs.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -895,16 +895,16 @@ if ( $.uiBackCompat !== false ) {
895895
_ajaxSettings: function( anchor, event, ui ) {
896896
var ajaxOptions = this.options.ajaxOptions;
897897
return $.extend( {}, ajaxOptions, {
898-
error: function( xhr, s, e ) {
898+
error: function( xhr, status ) {
899899
try {
900900
// Passing index avoid a race condition when this method is
901901
// called after the user has selected another tab.
902902
// Pass the anchor that initiated this request allows
903903
// loadError to manipulate the tab content panel via $(a.hash)
904904
ajaxOptions.error(
905-
xhr, s, ui.tab.closest( "li" ).index(), ui.tab[ 0 ] );
905+
xhr, status, ui.tab.closest( "li" ).index(), ui.tab[ 0 ] );
906906
}
907-
catch ( e ) {}
907+
catch ( error ) {}
908908
}
909909
}, this._superApply( arguments ) );
910910
},

0 commit comments

Comments
 (0)