Cannot access this in 'untyped' mode : use either '__this__' or var 'me = this' (transitional)

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Cannot access this in 'untyped' mode : use either '__this__' or var 'me = this' (transitional)

Av'tW
This post was updated on .
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Cannot access this in 'untyped' mode : use either '__this__' or var 'me = this' (transitional)

Av'tW
This post was updated on .
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Cannot access this in 'untyped' mode : use either '__this__' or var 'me = this' (transitional)

Av'tW
Turns out the untyped simply needed to directly precede __this__:

new J("#bbsTopics h2").html(new J(untyped __this__).text());

Problem solved.

--
View this message in context: http://haxe.1354130.n2.nabble.com/Cannot-access-this-in-untyped-mode-use-either-this-or-var-me-this-transitional-tp7061306p7061469.html
Sent from the Haxe mailing list archive at Nabble.com.

--
haXe - an open source web programming language
http://haxe.org