[Project_owners] IPCache

Philip Chee philip at aleytys.pc.my
Mon Oct 4 22:04:43 PDT 2010

On Mon, 4 Oct 2010 19:32:44 +0200, Jesper Staun Hansen wrote:
> You should consider using |this.| instead of |IPCache.| within var
> IPCache for the future. Refers to the same.

No it doesn't. Javascript is a dynamic language. this "this" doesn't
always point to that "this" if you get what I mean.

In <https://bugzilla.mozilla.org/show_bug.cgi?id=599833>
I used Object.bind() to bind "this" to "this" so that it won't change
under my feet. (Works only on trunk).


Philip Chee <philip at aleytys.pc.my>, <philip.chee at gmail.com>
http://flashblock.mozdev.org/ http://xsidebar.mozdev.org
Guard us from the she-wolf and the wolf, and guard us from the thief,
oh Night, and so be good for us to pass.

More information about the Project_owners mailing list