function removeAnimator(elem){ prefixed(elem.style, 'transition-timing-function', '') prefixed(elem.style, 'transition', '') }
function setPerspective(elem, amount){ prefixed(elem.style, 'perspective', amount + 'px') }
/** * shortcut method to translate an element * @param {Element} el * @param {Integer} val pixel value to translate */ function $translateY(el, val) { prefixed(el.style, 'transform', 'translateY(' + val + 'px)'); }