aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.datepicker.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2013-04-03 16:19:39 -0400
committerScott González <scott.gonzalez@gmail.com>2013-04-03 16:19:39 -0400
commite11cfce8013ebb32853ffb6972ea36e785fb8016 (patch)
tree053f0c0be23689c2557bb72820ed771819e604a8 /ui/jquery.ui.datepicker.js
parentcb42ba6fd6307a8425a1af89329869fcc613cefe (diff)
downloadjquery-ui-e11cfce8013ebb32853ffb6972ea36e785fb8016.tar.gz
jquery-ui-e11cfce8013ebb32853ffb6972ea36e785fb8016.zip
Datepicker: Remove unused _getBorders() method.
Diffstat (limited to 'ui/jquery.ui.datepicker.js')
-rw-r--r--ui/jquery.ui.datepicker.js12
1 files changed, 0 insertions, 12 deletions
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(),