Re: [qooxdoo-devel] Newbie question, calling this.debug() from my function.

2014-02-27 Thread Keve Nagy
> To be able to access parent scope you are able to do like this: (just declare > a local variable in the function which includes your function) > > var that = this; > var myDebug = function(p_myString) { > that.debug(p_myString); > return true; > }; > > Or if you want to change th

Re: [qooxdoo-devel] Newbie question, calling this.debug() from my function.

2014-02-27 Thread Keve Nagy
> "this" keyword has different meaning in different points of the script: they > say it "depends on context". this.debug() will work only where "this" refers > to an instance of qx.core.Object or derived class, or any class that > includes qx.core.MLogging mixin. > Explore what is "this" (by call

Re: [qooxdoo-devel] Newbie question, calling this.debug() from my function.

2014-02-27 Thread Mustafa Sak
.@yandex.ru] Gesendet: Donnerstag, 27. Februar 2014 07:36 An: qooxdoo-devel@lists.sourceforge.net Betreff: Re: [qooxdoo-devel] Newbie question, calling this.debug() from my function. "this" keyword has different meaning in different points of the script: they say it "depends on cont

Re: [qooxdoo-devel] Newbie question, calling this.debug() from my function.

2014-02-26 Thread alexey.zakharenkov
"this" keyword has different meaning in different points of the script: they say it "depends on context". this.debug() will work only where "this" refers to an instance of qx.core.Object or derived class, or any class that includes qx.core.MLogging mixin. Explore what is "this" (by calling alert(th

[qooxdoo-devel] Newbie question, calling this.debug() from my function.

2014-02-26 Thread Keve Nagy
Good Evening Everyone! I believe this is a newbie question. I very much like using the this.debug() call during development. But when I try to call it from any function I define inside my qx application code, it doesn't work. It resolves as "undefined". Example: this.debug("Debug text di