projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d1d5968
)
Roo.js
author
Alan Knowles
<alan@akbkhome.com>
Tue, 27 Jul 2010 02:57:42 +0000
(10:57 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 27 Jul 2010 02:57:42 +0000
(10:57 +0800)
Roo.js
patch
|
blob
|
history
diff --git
a/Roo.js
b/Roo.js
index
32a317a
..
5457135
100644
(file)
--- a/
Roo.js
+++ b/
Roo.js
@@
-85,6
+85,12
@@
Roo.apply = function(o, c, defaults){
* @type Boolean
*/
isReady : false,
* @type Boolean
*/
isReady : false,
+ /**
+ * Turn on debugging output (currently only the factory uses this)
+ * @type Boolean
+ */
+
+ debug: false,
/**
* True to automatically uncache orphaned Roo.Elements periodically (defaults to true)
/**
* True to automatically uncache orphaned Roo.Elements periodically (defaults to true)
@@
-297,7
+303,7
@@
Roo.factory(conf, Roo.data);
return c;
}
if (ns[c.xtype]) {
return c;
}
if (ns[c.xtype]) {
- if (Roo.debug)
console
.log("Roo.Factory(" + c.xtype + ")");
+ if (Roo.debug)
Roo
.log("Roo.Factory(" + c.xtype + ")");
var ret = new ns[c.xtype](c);
ret.xns = false;
return ret;
var ret = new ns[c.xtype](c);
ret.xns = false;
return ret;