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:
53e66ab
)
builder.html.js
author
Alan Knowles
<alan@akbkhome.com>
Wed, 26 May 2010 09:37:53 +0000
(17:37 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 26 May 2010 09:37:53 +0000
(17:37 +0800)
builder.html.js
patch
|
blob
|
history
diff --git
a/builder.html.js
b/builder.html.js
index
f0cd655
..
837e80f
100644
(file)
--- a/
builder.html.js
+++ b/
builder.html.js
@@
-220,6
+220,11
@@
Builder = {
}
}
+ if (cfg.xtype) {
+ if (typeof(cfg.xns[cfg.xtype]) == 'undefined') {
+ throw "Invalid Xtype " + this.xtreepath;
+ }
+ }
// we can overlay some event handlers here..
cfg.listeners = cfg.listeners || {};