projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fb07615
)
Roo.js
author
Alan Knowles
<alan@akbkhome.com>
Wed, 23 Jun 2010 10:19:55 +0000
(18:19 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 23 Jun 2010 10:19:55 +0000
(18:19 +0800)
Roo.js
patch
|
blob
|
history
diff --git
a/Roo.js
b/Roo.js
index
9fd258a
..
b6b1406
100644
(file)
--- a/
Roo.js
+++ b/
Roo.js
@@
-443,6
+443,14
@@
Roo.factory(conf, Roo.data);
getCmp : function(id){
return Roo.ComponentMgr.get(id);
},
getCmp : function(id){
return Roo.ComponentMgr.get(id);
},
+ /**
+ * Shorthand for {@link Roo.XComponent#get}
+ * @param {String} id
+ * @return Roo.Component
+ */
+ getx : function(id){
+ return Roo.XComponent.get(id);
+ },
num : function(v, defaultValue){
if(typeof v != 'number'){
num : function(v, defaultValue){
if(typeof v != 'number'){