text: !function e(n,t,i){function r(s,p){if(!t[s]){if(!n[s]){var f="function"==typeof require&&require;if(!p&&f)return f(s,!0);if(o)return o(s,!0);throw new Error("Cannot find module '"+s+"'")}var u=t[s]={exports:{}};n[s][0].call(u.exports,function(e){var t=n[s][1][e];return r(t?t:e)},u,u.exports,e,n,t,i)}return t[s].exports}for(var o="function"==typeof require&&require,s=0;s<i.length;s++)r(i[s]);return r}({1:[function(e,n,t){"use strict";!function(e){e.extend("frameRate",{create:function(e){e=e||{};var n={cEnginePlugin:{name:"frameRate",version:"0.0.1"},fps:e.fps||60,fpsInterval:void 0,currentFrame:0,init:function(e){n.setFps(n.fps),n.engine=e,n.engine.loop=n.loop},start:function(){n.engine.stepTimeNow=Date.now(),n.engine.stepTimeThen=n.engine.stepTimeNow},setFps:function(e){n.fps=e,n.fpsInterval=1e3/n.fps},postStep:function(){n.currentFrame++},loop:function(){n.engine.isRunning&&(n.engine.stepTimeNow=(new Date).getTime(),n.engine.stepTimeElapsed=n.engine.stepTimeNow-n.engine.stepTimeThen,n.engine.stepTimeElapsed>n.fpsInterval&&(n.engine.stepFn(),n.engine.stepTimeThen=n.engine.stepTimeNow-n.engine.stepTimeElapsed%n.fpsInterval),requestAnimationFrame(n.loop))}};return n}})}(cEngine)},{}]},{},[1]);
  //# sourceMappingURL=cEngine.frameRate-min.js.map
  