You can make opensocial-templates depend on opensocial-0.8, with the obvious associated downsides.
On Wed, Jan 14, 2009 at 7:41 AM, Lev Epshteyn <[email protected]> wrote: > Guys, is there a pre-set order of including required features into apps > rendered by Shindig? > > I'm running into the following problem: > > The feature I'm working on, "opensocia-templates", is trying to add > functionality to the "opensocial" namespace: > > var opensocial = window.opensocial || {}; > opensocial.templates = {}; > > However, the core opensocial feature ("opensocial-0.8") seems to override > the "opensocial" namespace unconditionally: > > var opensocial = {}; > > This seems to me to be largely correct (since this is the core opensocial > library), but the problem is that Shindig includes this AFTER the template > feature JS, regardless of the order in which the features are <require>d. > The effect is that the core library always destroys the opensocial namespace > object. > > Is there a way to make "opensocial-0.x" the first opensocial feature to be > inlined? >

