A function to wrap the native requestAnimationFrame, or polyfill it in browsers missing the feature.

xtag.requestFrame(FUNCTION)

ArgumentsTypeDescription
FUNCTIONFunctionThe function you would like executed before each browser render loop.
xtag.requestFrame(function(){
	alert(new Date().getTime());
  // alerts the ms epoch time before each render
});