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:
fa7b685
)
Builder/Provider/File/Roo.js
author
Alan Knowles
<alan@akbkhome.com>
Wed, 26 May 2010 05:50:43 +0000
(13:50 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 26 May 2010 05:50:43 +0000
(13:50 +0800)
Builder/Provider/File/Roo.js
patch
|
blob
|
history
diff --git
a/Builder/Provider/File/Roo.js
b/Builder/Provider/File/Roo.js
index
e39615b
..
752b516
100755
(executable)
--- a/
Builder/Provider/File/Roo.js
+++ b/
Builder/Provider/File/Roo.js
@@
-269,14
+269,18
@@
Roo = XObject.define(
- if (typeof( ar['xtype'] ) == 'undefined') {
+ if (typeof( ar['xtype'] ) == 'undefined'
|| !ar['xtype'].length
) {
return false;
}
- if (ar['xtype'].match(/^Roo/)) {
+ var xtype = ar['xtype'] + '';
+ if (xtype == '*') { // prefixes????
+ xtype = xtype.substring(1);
+ }
+ if (xtype.match(/^Roo/)) {
// already starts with roo...
ret = [];
}
- ret.push(
ar['xtype']
);
+ ret.push(
xtype
);
return ret.join('.');