diff options
author | Scott González <scott.gonzalez@gmail.com> | 2010-12-10 15:13:10 -0500 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2010-12-10 15:13:10 -0500 |
commit | 9681b1fd7ee69e336906a0c383c2768ecf2d32b7 (patch) | |
tree | 9b347619857296c8c4f7691401892bf1d84492c4 /ui/jquery.ui.core.js | |
parent | 162364fae4a34bcd6e5ef9f094583b5afbdc6cc5 (diff) | |
download | jquery-ui-9681b1fd7ee69e336906a0c383c2768ecf2d32b7.tar.gz jquery-ui-9681b1fd7ee69e336906a0c383c2768ecf2d32b7.zip |
All: Replaced all uses of $.ui.contains() with $.contains(). Fixes #5000 - Deprecate $.ui.contains.
Diffstat (limited to 'ui/jquery.ui.core.js')
-rw-r--r-- | ui/jquery.ui.core.js | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/ui/jquery.ui.core.js b/ui/jquery.ui.core.js index bda679554..d41654b29 100644 --- a/ui/jquery.ui.core.js +++ b/ui/jquery.ui.core.js @@ -263,12 +263,7 @@ $.extend( $.ui, { } }, - // will be deprecated when we switch to jQuery 1.4 - use jQuery.contains() - contains: function( a, b ) { - return document.compareDocumentPosition ? - a.compareDocumentPosition( b ) & 16 : - a !== b && a.contains( b ); - }, + contains: $.contains, // only used by resizable hasScroll: function( el, a ) { |