From 9681b1fd7ee69e336906a0c383c2768ecf2d32b7 Mon Sep 17 00:00:00 2001 From: Scott González Date: Fri, 10 Dec 2010 15:13:10 -0500 Subject: All: Replaced all uses of $.ui.contains() with $.contains(). Fixes #5000 - Deprecate $.ui.contains. --- ui/jquery.ui.core.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'ui/jquery.ui.core.js') 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 ) { -- cgit v1.2.3