Browse Source

src : use $.data in setIsoTransform

pull/96/head
David DeSandro 14 years ago
parent
commit
3aad79f64c
  1. 5
      jquery.isotope.js
  2. 2
      jquery.isotope.min.js

5
jquery.isotope.js

@ -179,9 +179,8 @@
;
var setIsoTransform = function ( elem, name, value ) {
var $elem = $(elem),
// unpack current transform data
data = $elem.data('isoTransform') || {},
var data = $.data( elem, 'isoTransform' ) || {},
newData = {},
fnName,
transformObj = {},
@ -206,7 +205,7 @@
valueFns = translateFn + scaleFn;
// set data back in elem
$elem.data( 'isoTransform', data );
$.data( elem, 'isoTransform', data );
// set name to vendor specific property
elem.style[ transformProp ] = valueFns;

2
jquery.isotope.min.js vendored

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save