The version of Caja in Shindig currently does not support jQuery. We're finalizing a version of Caja that expands what we can handle to anything written according to the new ES5-strict javascript standard. This includes jQuery. I anticipate pushing it to Shindig in two months.
On Fri, Sep 3, 2010 at 4:50 PM, Paul Lindner <[email protected]> wrote: > You might consider asking your question here: > > http://groups.google.com/group/google-caja-discuss > > > > 2010/9/1 xianyi.ye <[email protected]> > >> Hi Paul, >> >> I have tried to use JQuery in my gadget. If I just running it in plain >> mode, it worked fine. >> But it seems like my gadget which contains JQuery cannot be rendered >> successfully in caja mode. >> >> It always tell me following error: >> ERROR >> http://localhost:9090/gadgets/concat?container=default&%3bgadget=http%3A%2F%2Flocalhost%3A9090%2Fsamplecontainer%2Fexamples%2FZuora%5fHelloWorld.xml&%3bdebug=0&%3bnocache=0&%3btype=js&%3b1=http%3A%2F%2Flocalhost%3A9090%2Fsamplecontainer%2Fexamples%2Fopensocial-jquery.templates.js:1+1- >> 2: Unexpected token <: >> >> I have no idea what's going on. >> >> In additon, I think shindig or Caja has some limitation on JQuery. right? >> That's why JQuery.com developed a plugin which is named OpenSocial jQuery >> Templates to support shindig. ( >> http://plugins.jquery.com/taxonomy/term/3374) But even if I use this >> Jquery library, I still got above error. >> >> Could you please guide me? >> >> Thanks, >> Xianyi.Ye >> >> >> >> >> 发件人: Paul Lindner >> 发送时间: 2010-09-01 14:27:01 >> 收件人: users >> 抄送: >> 主题: Re: Re: Help:Do we need to install caja component seperatly? >> >> Xianyi, you can use jquery with your gadgets or you can integrate the >> container javascript with jquery. >> On Tue, Aug 31, 2010 at 9:19 PM, xianyi.ye <[email protected]> wrote: >> > Hi Paul, >> > >> > Thank you for your reply last week. >> > >> > Currently, we also want to use JQuery in our Shindig. Do you know is >> that >> > feasible? >> > And could you please tell us if Shindig has integrated with the whole >> Caja >> > or just included part of Caja components? >> > >> > Thanks for your help. Your help will really improve our work. >> > >> > >> > Thanks, >> > Xianyi.Ye >> > >> > >> > >> > >> > 发件人: Paul Lindner >> > 发送时间: 2010-08-25 13:37:48 >> > 收件人: users >> > 抄送: >> > 主题: Re: Help:Do we need to install caja component seperatly? >> > >> > Hi, >> > Are you using the Java or PHP shindig version? >> > The Java version has caja support included >> > 2010/8/24 xianyi.ye <[email protected]> >> > > Hi, >> > > >> > > Currently, we need to build up a Shindig Server as our testing env. In >> > > addition, we want to use Caja feature. >> > > Could you please tell me that do we need to install caja component >> > > seperatly? Or our Shindig server has integrated Caja Component, so we >> > > needn't do it again? >> > > >> > > Please guide us. >> > > Your help will be really appreciated. >> > > >> > > Thanks, >> > > Xianyi.Ye >> > > >> > -- >> > Paul Lindner -- [email protected] -- linkedin.com/in/plindner >> > >> -- >> Paul Lindner -- [email protected] -- linkedin.com/in/plindner >> > > > > -- > Paul Lindner -- [email protected] -- linkedin.com/in/plindner >
