1 message in com.googlegroups.opensocial-api[OpenSocial] Caveats with JavaScript'...
FromSent OnAttachments
jfahrenkrug30 Jul 2008 04:32 
Subject:[OpenSocial] Caveats with JavaScript's "this", closures
From:jfahrenkrug (jfah@gmail.com)
Date:07/30/2008 04:32:55 AM
List:com.googlegroups.opensocial-api

Hi,

After reading "JavaScript - The Good Parts" I wanted to make my code a little more elegant and I ran into some quirks with using the "this" keyword in JavaScript. I wrote up a small article about it here: http://blog.springenwerk.com/2008/07/javascript-this-is-not-always-what-youd.html

It features a hosted OpenSocial demo application that demonstrates the issues and how to avoid them. If you're not a JavaScript ninja yet, this might be an interesting read for your and save you from some wailing and gnashing of teeth down the road.

- Johannes