From fe5534b3479e5971b370636f7da34c0a1b4a7e42 Mon Sep 17 00:00:00 2001 From: Alexander Schmitz Date: Fri, 21 Aug 2015 00:14:57 -0400 Subject: Core: Style updates Ref #14246 Ref gh-1588 --- ui/data.js | 3 ++- ui/focusable.js | 5 +++-- ui/jquery-1-7.js | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) (limited to 'ui') diff --git a/ui/data.js b/ui/data.js index e989902da..f76098d8c 100644 --- a/ui/data.js +++ b/ui/data.js @@ -30,7 +30,8 @@ return $.extend( $.expr[ ":" ], { return !!$.data( elem, dataName ); }; } ) : - // support: jQuery <1.8 + + // Support: jQuery <1.8 function( elem, i, match ) { return !!$.data( elem, match[ 3 ] ); } diff --git a/ui/focusable.js b/ui/focusable.js index b6e86e062..a50598cd4 100644 --- a/ui/focusable.js +++ b/ui/focusable.js @@ -24,7 +24,7 @@ } } ( function( $ ) { -// selectors +// Selectors $.ui.focusable = function( element, hasTabindex ) { var map, mapName, img, nodeName = element.nodeName.toLowerCase(); @@ -42,7 +42,8 @@ $.ui.focusable = function( element, hasTabindex ) { "a" === nodeName ? element.href || hasTabindex : hasTabindex ) && - // the element and all of its ancestors must be visible + + // The element and all of its ancestors must be visible visible( element ); }; diff --git a/ui/jquery-1-7.js b/ui/jquery-1-7.js index 29e008e8a..8d25f8807 100644 --- a/ui/jquery-1-7.js +++ b/ui/jquery-1-7.js @@ -24,7 +24,7 @@ } }( function( $ ) { -// support: jQuery 1.7 only +// Support: jQuery 1.7 only // Not a great way to check versions, but since we only support 1.7+ and only // need to detect <1.8, this is a simple check that should suffice. Checking // for "1.7." would be a bit safer, but the version string is 1.7, not 1.7.0 -- cgit v1.2.3