demos/playground/demos/scoreboard/scoreboard.js
function calcPlayerStyle(player, delayed) {
		// delayed
		if (delayed)
			return {transition: "250ms", transform: null};
		// initial
		else {
			var offset = (lastPos.get(player) * 18) - (curPos.get(player) * 18);
			return {
				transform: "translateY(" + offset + "px)",
				transition: null//offset == 0 ? "",
			};
		}
	}
function calcPlayerStyle(player, delayed) {
		// delayed
		if (delayed)
			return {transition: "250ms", transform: null};
		// initial
		else {
			var offset = (lastPos.get(player) * 18) - (curPos.get(player) * 18);
			return {
				transform: "translateY(" + offset + "px)",
				transition: null//offset == 0 ? "",
			};
		}
	}
function calcPlayerStyle ( player , delayed ) { // delayed if ( delayed ) return { transition : "250ms" , transform : null } ; // initial else { var offset = ( lastPos . get ( player ) * 18 ) - ( curPos . get ( player ) * 18 ) ; return { transform : "translateY(" + offset + "px)" , transition : null //offset == 0 ? "", } ; } }
gets transform for prior pos order
gets transform for prior pos order