Skip to content

Commit

Permalink
Datepicker: Remove unused _getBorders() method.
Browse files Browse the repository at this point in the history
  • Loading branch information
scottgonzalez committed Apr 3, 2013
1 parent cb42ba6 commit e11cfce
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions ui/jquery.ui.datepicker.js
Expand Up @@ -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(),
Expand Down

0 comments on commit e11cfce

Please sign in to comment.