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:
b4fa8fd
)
XObject.js
author
Alan Knowles
<alan@akbkhome.com>
Tue, 23 Nov 2010 11:02:09 +0000
(19:02 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 23 Nov 2010 11:02:09 +0000
(19:02 +0800)
XObject.js
patch
|
blob
|
history
diff --git
a/XObject.js
b/XObject.js
index
fdedd71
..
922a828
100644
(file)
--- a/
XObject.js
+++ b/
XObject.js
@@
-719,8
+719,8
@@
XObject.extend(XObject,
*/
type : function(o)
{
- if (typeof(
cfg
.xtype) == 'object') {
- return GObject.type_name(
cfg
.xtype.type);
+ if (typeof(
o
.xtype) == 'object') {
+ return GObject.type_name(
o
.xtype.type);
// print("GNAME:" +gname + " GTYPE:"+cfg.xtype.type);
}
return 'unknown';