Roo/bootstrap/Component.js
Roo/Component.js
Roo/util/Observable.js
*/
Roo.Component = function(config){
console.log("COMPONENT CONSTRUCTOR");
- console.log(config);
config = config || {};
if(config.tagName || config.dom || typeof config == "string"){ // element object
config = {el: config, id: config.id || config};
Roo.bootstrap.Component = function(config){
console.log("BOOSTRAP COMPONENT CONSTRUCTOR");
- console.log(config);
Roo.bootstrap.Component.superclass.constructor.call(this, config);
this.addEvents({
Roo.bootstrap.UploadCropbox = function(config){
console.log("BOOTSTRAP UPLOAD CROPBOX CONSTRUCTOR");
- console.log(config);
Roo.bootstrap.UploadCropbox.superclass.constructor.call(this, config);
this.addEvents({
Roo.util.Observable = function(cfg){
console.log("UTIL OBSERVABLE CONSTRUCTOR");
- console.log(cfg);
cfg = cfg|| {};
this.addEvents(cfg.events || {});