Hi Tiago, "io" is a core javascript feature of gadgets and is included by default. "views" is an optional feature, which will need to be included in a Require tag.
If you check this page: http://code.google.com/apis/gadgets/docs/spec.html#corejavascriptapi you will see tables listing the core and optional features. Everything in the core table is included by default. ~Arne On Thu, Feb 21, 2008 at 3:49 AM, Tiago Takamoto <[EMAIL PROTECTED]> wrote: > Hi Luke, > > Try include the <Require feature="views"/> in the <ModulePrefs> as > Lane said. That works for me and remember to use &bpc=1. > I just have a question, if I need to include the "views" on the > required feature list, so to use gadgets.io.makeRequest I need to include > "io" too? Because everthing was working fine before without this includes. > > Regards, > > Takamoto. > > On Thu, Feb 21, 2008 at 7:46 AM, Luke <[EMAIL PROTECTED]> wrote: > > > > > I'm seeing an error with gadgets.views not defined. This started > > happening since the push. Issue here: > > http://code.google.com/p/opensocial-resources/issues/detail?id=66 > > > > On Feb 20, 10:52 pm, "Lane LiaBraaten (Google)" > > <[EMAIL PROTECTED]> wrote: > > > Hi Everyone, > > > > > > We just pushed a fix to the sandbox to take care of the issues found > > > with Internet Explorer [1]. As an added bonus, the MyApps page is now > > > rendering the thumbnail and description specified in your app's > > > ModulePrefs element [2]. > > > > > > [1]http://code.google.com/p/opensocial-resources/issues/detail?id=48 > > > [2]http://code.google.com/p/opensocial-resources/issues/detail?id=28 > > > > > > One side effect from this update is that if you're using the > > > gadgets.views package, you'll need to include <Require > > feature="views"/> in the <ModulePrefs> of your gadget. This is because the > > "views" > > > > > > package is not part of the Core API, as shown here: > > http://code.google.com/apis/gadgets/docs/reference/index.html > > > > > > Happy coding, > > > Lane > > > > > > > -- > Takamoto > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Orkut Developer Forum" group. To post to this group, send email to opensocial-orkut@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en -~----------~----~----~----~------~----~------~--~---