aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-08-23 07:35:40 -0400
committerScott González <scott.gonzalez@gmail.com>2012-08-23 07:35:40 -0400
commit8aa410b2fc0bd6b761a39cabee52395647875124 (patch)
tree4f2fcc2747b3f727b059c71fb231a2d417e58274 /ui
parentc343598d2a21712d33895f21468411cef23ac687 (diff)
downloadjquery-ui-8aa410b2fc0bd6b761a39cabee52395647875124.tar.gz
jquery-ui-8aa410b2fc0bd6b761a39cabee52395647875124.zip
Core: Whitespace.
Diffstat (limited to 'ui')
-rw-r--r--ui/jquery.ui.core.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/ui/jquery.ui.core.js b/ui/jquery.ui.core.js
index d37698422..daa0c16e2 100644
--- a/ui/jquery.ui.core.js
+++ b/ui/jquery.ui.core.js
@@ -288,7 +288,7 @@ $.extend( $.ui, {
if ( !set || !instance.element[ 0 ].parentNode || instance.element[ 0 ].parentNode.nodeType === 11 ) {
return;
}
-
+
for ( i = 0; i < set.length; i++ ) {
if ( instance.options[ set[ i ][ 0 ] ] ) {
set[ i ][ 1 ].apply( instance.element, args );
@@ -296,24 +296,24 @@ $.extend( $.ui, {
}
}
},
-
+
contains: $.contains,
-
+
// only used by resizable
hasScroll: function( el, a ) {
-
+
//If overflow is hidden, the element might have extra content, but the user wants to hide it
if ( $( el ).css( "overflow" ) === "hidden") {
return false;
}
-
+
var scroll = ( a && a === "left" ) ? "scrollLeft" : "scrollTop",
has = false;
-
+
if ( el[ scroll ] > 0 ) {
return true;
}
-
+
// TODO: determine which cases actually cause this to happen
// if the element doesn't have the scroll set, see if it's possible to
// set the scroll
@@ -322,7 +322,7 @@ $.extend( $.ui, {
el[ scroll ] = 0;
return has;
},
-
+
// these are odd functions, fix the API or move into individual plugins
isOverAxis: function( x, reference, size ) {
//Determines when x coordinate is over "b" element axis