Hello,

Suppose if I try to fetch a particular property of a "person" object.

var p=person.getField(opensocial.Person.Field.SPORTS);

What will be returned if SPORTS field in not set in user's profile. Is
it "null" or "undefined" or something else. It must be something else
as whenever I try to use following code, my browser get halt.

if(p=='undefined')
OR
if(p==null)

Please suggest, what might be the problem.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenSocial Application Development" group.
To post to this group, send email to opensocial-api@googlegroups.com
To unsubscribe from this group, send email to 
opensocial-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/opensocial-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to