Hi Yoichiro,

The opensocial and gadget specification group discusses the specs.
Please feel free to make the recommendation there.

http://groups.google.com/group/opensocial-and-gadgets-spec

Thanks,
Anash


On Jul 9, 1:08 pm, yoichiro <[EMAIL PROTECTED]> wrote:
> Hi Anash,
>
> Thank you for your reply. However, I think that the second method is
> suitable, because the first method also is not documented and special
> functions (ex. opensoical.newDataRequest) for creating the instance is
> defined for classes other than IdSpec. I afraid that only IdSpec
> should use 'new'.
>
> I think that the opensocial.newIdSpec() function should be documented.
> Is my understanding incorrect?
>
> Best regards,
> Yoichiro
>
> On July 9, 4:10 pm, Anash <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi,
>
> > I guess that the first method is the correct one, as the
> > opensocial.newIdSpec() function is not documented.
>
> > Anash
>
> > On Jul 9, 6:48 am, yoichiro <[EMAIL PROTECTED]> wrote:
>
> > > Hi all,
>
> > > I want to know how to create the instance of IdSpec in v0.8. I think
> > > as follows, which is correct as the specification?
>
> > > (1) Create the instance directry with 'new'.
>
> > > var params = {};
> > > params[opensocial.IdSpec.Field.USER_ID] =
> > > opensocial.IdSpec.PersonId.VIEWER;
> > > var id = new opensocial.IdSpec(params);
>
> > > (2) Create the instance with opensocial.newIdSpec() function. This
> > > function is not written in API Reference of v0.8, But I found it in
> > > opensocial.js.
>
> > > var params = {};
> > > params[opensocial.IdSpec.Field.USER_ID] =
> > > opensocial.IdSpec.PersonId.VIEWER;
> > > var id = opensocial.newIdSpec(params);
>
> > >http://opensocial-resources.googlecode.com/svn/spec/0.8/opensocial/op...
>
> > > Best regards,
> > > Yoichiro- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenSocial Application Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/opensocial-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to