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:
e4630f7
)
builder.html.js
author
Alan Knowles
<alan@akbkhome.com>
Wed, 26 May 2010 09:38:29 +0000
(17:38 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 26 May 2010 09:38:29 +0000
(17:38 +0800)
builder.html.js
patch
|
blob
|
history
diff --git
a/builder.html.js
b/builder.html.js
index
837e80f
..
183711e
100644
(file)
--- a/
builder.html.js
+++ b/
builder.html.js
@@
-221,7
+221,7
@@
Builder = {
}
if (cfg.xtype) {
- if (typeof(cfg.xns[cfg.xtype]) == 'undefined') {
+ if (
!cfg.xns ||
typeof(cfg.xns[cfg.xtype]) == 'undefined') {
throw "Invalid Xtype " + this.xtreepath;
}
}