Save changes
This commit is contained in:
parent
0739444f87
commit
eb955fa90d
18 changed files with 15484 additions and 1283 deletions
|
|
@ -33,19 +33,14 @@ define(function(require, exports, module) {
|
|||
|
||||
var event = require("./lib/event");
|
||||
|
||||
/** internal, hide
|
||||
* class RenderLoop
|
||||
/**
|
||||
*
|
||||
*
|
||||
* Batches changes (that force something to be redrawn) in the background.
|
||||
*
|
||||
* @class RenderLoop
|
||||
**/
|
||||
|
||||
/** internal, hide
|
||||
* new RenderLoop(onRender, win)
|
||||
*
|
||||
*
|
||||
*
|
||||
**/
|
||||
|
||||
var RenderLoop = function(onRender, win) {
|
||||
this.onRender = onRender;
|
||||
this.pending = false;
|
||||
|
|
@ -55,12 +50,7 @@ var RenderLoop = function(onRender, win) {
|
|||
|
||||
(function() {
|
||||
|
||||
/** internal, hide
|
||||
* RenderLoop.schedule(change)
|
||||
* - change (Array):
|
||||
*
|
||||
*
|
||||
**/
|
||||
|
||||
this.schedule = function(change) {
|
||||
//this.onRender(change);
|
||||
//return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue