From: Scott González Date: Wed, 3 Apr 2013 20:19:39 +0000 (-0400) Subject: Datepicker: Remove unused _getBorders() method. X-Git-Tag: 1.11.0-beta.1~371 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e11cfce8013ebb32853ffb6972ea36e785fb8016;p=jquery-ui.git Datepicker: Remove unused _getBorders() method. --- diff --git a/ui/jquery.ui.datepicker.js b/ui/jquery.ui.datepicker.js index 990c181a6..976534c94 100644 --- a/ui/jquery.ui.datepicker.js +++ b/ui/jquery.ui.datepicker.js @@ -823,18 +823,6 @@ $.extend(Datepicker.prototype, { } }, - /* Retrieve the size of left and top borders for an element. - * @param elem (jQuery object) the element of interest - * @return (number[2]) the left and top borders - */ - _getBorders: function(elem) { - var convert = function(value) { - return {thin: 1, medium: 2, thick: 3}[value] || value; - }; - return [parseFloat(convert(elem.css("border-left-width"))), - parseFloat(convert(elem.css("border-top-width")))]; - }, - /* Check positioning to remain on screen. */ _checkOffset: function(inst, offset, isFixed) { var dpWidth = inst.dpDiv.outerWidth(),