> 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
> "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
.@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
"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
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