projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b1cd42
)
Sample/Window.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 5 Aug 2010 01:43:26 +0000
(09:43 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 5 Aug 2010 01:43:26 +0000
(09:43 +0800)
Sample/Window.js
patch
|
blob
|
history
diff --git
a/Sample/Window.js
b/Sample/Window.js
index
2020634
..
c8a6a14
100644
(file)
--- a/
Sample/Window.js
+++ b/
Sample/Window.js
@@
-2963,12
+2963,19
@@
Window=new XObject({
runRefresh : function()
{
// this is run every 2 seconds from the init..
+
+ if (this.lastRedraw) {
+ var ld = this.lastRedraw - (new Date());
+ print("last redraw" + ld);
+ }
if (!this.refreshRequired) {
// print("no refresh required");
return;
}
+
+
@@
-3034,6
+3041,7
@@
Window=new XObject({
if (!this.ready) {
console.log('not loaded yet');
}
+ this.lastRedraw = new Date();
this.el.execute_script("Builder.render(" + JSON.stringify(data) + ");");