Hi,
It seems that console.log() (at least, haven't tried other console
methods) doesn't work well in some cases. I've noticed this behaviour
in all versions above (but not including) 1.8.4, including 1.10 alpha.
It's a bit complicated and involves using mootools 1.2.x and its
Classes: http://mootools.net/docs/core125/core/Class/Class
console.log() fails to print anything in the console window when it is
called from a code which contains nested classes. I've prepared a
sample code. It cannot be executed in jsFiddle, because it needs some
of our libraries. The code is cleaned up a bit, without the
unnecessary parts.
For now, I am still on 1.8.4, but would really like to move to the
latest version.
Firebug is my main development tool and has helped me build all our
applications. We really appreciate your hard work and dedication.
Thanks!
Thanks for your help.
var imxParamFormControl = new Class ({
Implements : [Options, Events],
options: {
id : 'ctl_parform',
},
pop_columns : null,
column_model : [],
initialize : function(options) {
this.setOptions(options);
this._popup_render();
return this;
},
_control_render : function() {
console.log('column_model:', this.column_model); // THIS DOESN'T
WORK
return this;
},
_popup_render : function() {
var that = this;
console.log('column_model:', this.column_model); // THIS WORKS!
this.pop_columns = new imxPopupModal({
id: 'pop_columns',
onShow : function() {
console.log('column_model:',
that.column_model); // THIS DOESN'T
WORK
that._control_render();
}
}).setContent(this.dict.title, _html);
},
show : function() {
this.pop_columns.show();
return this;
},
});
--
You received this message because you are subscribed to the Google
Groups "Firebug" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
https://groups.google.com/forum/#!forum/firebug