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>
<https://bugzilla.mozilla.org/attachment.cgi?id=480415>
I used Object.bind() to bind "this" to "this" so that it won't change
under my feet. (Works only on trunk).

Phil

-- 
Philip Chee <[email protected]>, <[email protected]>
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.

_______________________________________________
Project_owners mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/project_owners

Reply via email to