nl_tokens: Get transforms base on the given object .
pl_tokens: function getTransforms ( _ref ) { var rotate = _ref . rotate , scaleX = _ref . scaleX , scaleY = _ref . scaleY , translateX = _ref . translateX , translateY = _ref . translateY ; var values = [ ] ; if ( isNumber ( translateX ) && translateX !== 0 ) { values . push ( "translateX(" . concat ( translateX , "px)" ) ) ; } if ( isNumber ( translateY ) && translateY !== 0 ) { values . push ( "translateY(" . concat ( translateY , "px)" ) ) ; } // Rotate should come first before scale to match orientation transform if ( isNumber ( rotate ) && rotate !== 0 ) { values . push ( "rotate(" . concat ( rotate , "deg)" ) ) ; } if ( isNumber ( scaleX ) && scaleX !== 1 ) { values . push ( "scaleX(" . concat ( scaleX , ")" ) ) ; } if ( isNumber ( scaleY ) && scaleY !== 1 ) { values . push ( "scaleY(" . concat ( scaleY , ")" ) ) ; } var transform = values . length ? values . <mask> ( ' ' ) : 'none' ; return { WebkitTransform : transform , msTransform : transform , transform : transform } ; }