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:
73fa3a3
)
Builder/RightGtkView.js
author
Alan Knowles
<alan@akbkhome.com>
Tue, 11 May 2010 08:27:12 +0000
(16:27 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 11 May 2010 08:27:12 +0000
(16:27 +0800)
Builder/RightGtkView.js
patch
|
blob
|
history
diff --git
a/Builder/RightGtkView.js
b/Builder/RightGtkView.js
index
d410585
..
891e2fe
100755
(executable)
--- a/
Builder/RightGtkView.js
+++ b/
Builder/RightGtkView.js
@@
-249,8
+249,8
@@
RightGtkView = new XObject({
var keys = [];
var isArray = false;
print(obj.constructor);
- print(obj.constructor === [].constructor? "ARRAY?" : "-");
- if (obj.constructor
=== [].constructor
) {
+ print(obj.constructor
.
=== [].constructor? "ARRAY?" : "-");
+ if (obj.constructor
.toString() === Array.toString()
) {
for (var i= 0; i < obj.length; i++) {
keys.push(i);
}