Permalink
Browse files

jQuery.curCSS deprecated since jQuery 1.3, obsolete since jQuery 1.8.…

… Replaced with jQuery.css
  • Loading branch information...
1 parent fe11c75 commit dbebfac2ffcd2fa5987b8ec9e5056dcfab1fa175 Michael A. Smith committed Apr 16, 2013
Showing with 19 additions and 19 deletions.
  1. +6 −6 dist/jquery.transform-0.9.3.js
  2. +1 −1 dist/jquery.transform-0.9.3.min.js
  3. +6 −6 dist/jquery.transform.js
  4. +6 −6 src/jquery.transform.js
@@ -280,7 +280,7 @@
var matrixFilter = 'progid:DXImageTransform.Microsoft.Matrix(' +
'M11=' + a + ', M12=' + c + ', M21=' + b + ', M22=' + d +
', sizingMethod=\'auto expand\'' + filterType + ')';
- var filter = style.filter || $.curCSS( this.$elem[0], "filter" ) || "";
+ var filter = style.filter || $.css( this.$elem[0], "filter" ) || "";
style.filter = rmatrix.test(filter) ? filter.replace(rmatrix, matrixFilter) : filter ? filter + ' ' + matrixFilter : matrixFilter;
// Let's know that we're applying post matrix fixes and the height/width will be static for a bit
@@ -493,7 +493,7 @@
// setup some variables
var elem = this.$elem[0],
- outerLen = parseFloat($.curCSS(elem, dim, true)), //TODO: this can be cached on animations that do not animate height/width
+ outerLen = parseFloat($.css(elem, dim, true)), //TODO: this can be cached on animations that do not animate height/width
boxSizingProp = this.boxSizingProperty,
boxSizingValue = this.boxSizingValue;
@@ -512,12 +512,12 @@
// add in the padding and border
if (boxSizingProp && (boxSizingValue == 'padding-box' || boxSizingValue == 'content-box')) {
- outerLen += parseFloat($.curCSS(elem, 'padding-' + side[dim][0], true)) || 0 +
- parseFloat($.curCSS(elem, 'padding-' + side[dim][1], true)) || 0;
+ outerLen += parseFloat($.css(elem, 'padding-' + side[dim][0], true)) || 0 +
+ parseFloat($.css(elem, 'padding-' + side[dim][1], true)) || 0;
}
if (boxSizingProp && boxSizingValue == 'content-box') {
- outerLen += parseFloat($.curCSS(elem, 'border-' + side[dim][0] + '-width', true)) || 0 +
- parseFloat($.curCSS(elem, 'border-' + side[dim][1] + '-width', true)) || 0;
+ outerLen += parseFloat($.css(elem, 'border-' + side[dim][0] + '-width', true)) || 0 +
+ parseFloat($.css(elem, 'border-' + side[dim][1] + '-width', true)) || 0;
}
// remember and return the outerHeight
Oops, something went wrong.

0 comments on commit dbebfac

Please sign in to comment.