templates/bower/jquery.transit.js
function(elem, v) {
      var value = v;

      if (!(value instanceof Transform)) {
        value = new Transform(value);
      }

      // We've seen the 3D version of Scale() not work in Chrome when the
      // element being scaled extends outside of the viewport.  Thus, we're
      // forcing Chrome to not use the 3d transforms as well.  Not sure if
      // translate is affectede, but not risking it.  Detection code from
      // http://davidwalsh.name/detecting-google-chrome-javascript
      if (support.transform === 'WebkitTransform' && !isChrome) {
        elem.style[support.transform] = value.toString(true);
      } else {
        elem.style[support.transform] = value.toString();
      }

      $(elem).data('transform', value);
    }
function(elem, v) {
      var value = v;

      if (!(value instanceof Transform)) {
        value = new Transform(value);
      }

      // We've seen the 3D version of Scale() not work in Chrome when the
      // element being scaled extends outside of the viewport.  Thus, we're
      // forcing Chrome to not use the 3d transforms as well.  Not sure if
      // translate is affectede, but not risking it.  Detection code from
      // http://davidwalsh.name/detecting-google-chrome-javascript
      if (support.transform === 'WebkitTransform' && !isChrome) {
        elem.style[support.transform] = value.toString(true);
      } else {
        elem.style[support.transform] = value.toString();
      }

      $(elem).data('transform', value);
    }
function ( elem , v ) { var value = v ; if ( ! ( value instanceof Transform ) ) { value = new Transform ( value ) ; } // We've seen the 3D version of Scale() not work in Chrome when the // element being scaled extends outside of the viewport.  Thus, we're // forcing Chrome to not use the 3d transforms as well.  Not sure if // translate is affectede, but not risking it.  Detection code from // http://davidwalsh.name/detecting-google-chrome-javascript if ( support . transform === 'WebkitTransform' && ! isChrome ) { elem . style [ support . transform ] = value . toString ( true ) ; } else { elem . style [ support . transform ] = value . toString ( ) ; } $ ( elem ) . data ( 'transform' , value ) ; }
The setter accepts a `Transform` object or a string.
The setter accepts a Transform object or a string .