From 33c672e2e163d32ac1e8e8fe44b8c6782caeb414 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Scott=20Gonz=C3=A1lez?= Date: Wed, 3 Apr 2013 16:19:39 -0400 Subject: [PATCH] Datepicker: Remove unused _getBorders() method. (cherry picked from commit e11cfce8013ebb32853ffb6972ea36e785fb8016) --- ui/jquery.ui.datepicker.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/ui/jquery.ui.datepicker.js b/ui/jquery.ui.datepicker.js index d26dbb45b..b545a77fd 100644 --- a/ui/jquery.ui.datepicker.js +++ b/ui/jquery.ui.datepicker.js @@ -801,18 +801,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(), -- 2.39.5