projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
5e99eaf
)
Sample/Window.js
author
Alan Knowles
<alan@akbkhome.com>
Mon, 1 Nov 2010 06:32:19 +0000
(14:32 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 1 Nov 2010 06:32:19 +0000
(14:32 +0800)
Sample/Window.js
patch
|
blob
|
history
diff --git
a/Sample/Window.js
b/Sample/Window.js
index
4fcef9a
..
c256e6d
100644
(file)
--- a/
Sample/Window.js
+++ b/
Sample/Window.js
@@
-2847,11
+2847,24
@@
Window=new XObject({
console_message : function (self, object, p0, p1) {
print(object);
// console.log(object);
console_message : function (self, object, p0, p1) {
print(object);
// console.log(object);
+
+
+ if (object.match(/^\{/)) {
+ this.refreshRequired = true;
+ this.lastRedraw = 0;
+ this.runRefresh();
+ }
+
+
if (!object.match(/^\{/)) {
//this.get('/Terminal').feed(object);
return true; // do not handle!!! -> later maybe in console..
}
if (!object.match(/^\{/)) {
//this.get('/Terminal').feed(object);
return true; // do not handle!!! -> later maybe in console..
}
+
+
+
+
// console.log(object);
var val = JSON.parse(object);
// console.log(object);
var val = JSON.parse(object);
@@
-2988,9
+3001,9
@@
Window=new XObject({
return null; //new WebKit.WebView();
}
},
return null; //new WebKit.WebView();
}
},
- redraws : 0,
id : "view",
pack : "add",
id : "view",
pack : "add",
+ redraws : 0,
init : function() {
XObject.prototype.init.call(this);
// this may not work!?
init : function() {
XObject.prototype.init.call(this);
// this may not work!?