It is defined as local to the initializer.Rocker1 function and can't be accessed outside it. if the function is generic enough just put it in a separate js and include that in both mixins.
On Fri, Aug 12, 2011 at 9:42 AM, dick_hu <dickan...@gmail.com> wrote: > I use the two mixins in a page > so the two js are already imported, I try to use one mixins's js funtion in > another mixins's js > > eg: > Tapestry.Initializer.Rocker1 = fucntion(){ > var f1 = function(){ > > } > } > > Tapestry.Initializer.Rocker2 = fucntion(){ > // I want use the Rocker1's f1 > } > > Howcan I do? > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/T5-Tapestry-Initializer-s-function-tp4691890p4692065.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Regards Taha Hafeez Siddiqi (tawus) http://tawus.wordpress.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org