]> source.dussan.org Git - jquery-ui.git/commitdiff
Datepicker: Remove unused _getBorders() method.
authorScott González <scott.gonzalez@gmail.com>
Wed, 3 Apr 2013 20:19:39 +0000 (16:19 -0400)
committerScott González <scott.gonzalez@gmail.com>
Wed, 17 Apr 2013 19:09:44 +0000 (15:09 -0400)
(cherry picked from commit e11cfce8013ebb32853ffb6972ea36e785fb8016)

ui/jquery.ui.datepicker.js

index d26dbb45bf6b3e335b1c4b318abcf616a0a1eabf..b545a77fd79cdf0781cf5151116d58d240129ea8 100644 (file)
@@ -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(),