[plumi-discuss] [Fwd: Re: [Plone-Users] kupu javascript proplems]

anna at engagemedia.org anna at engagemedia.org
Wed Feb 13 23:51:09 UTC 2008


michael indicated to me today he had patched mv_embed to avoid this problem.

has he passed this on to you kev?

http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/MetavidWiki/

cheers,
anna

kev wrote:
> hi, 
> i sent a note to the plone users list about problems between mv_embed
> and kupu javascript. i got this responce.  
>   
>
> ------------------------------------------------------------------------
>
> Subject:
> Re: [Plone-Users] kupu javascript proplems
> From:
> Duncan Booth <duncan.booth at suttoncourtenay.org.uk>
> Date:
> Sun, 10 Feb 2008 15:44:26 +0000 (UTC)
> To:
> plone-users at lists.sourceforge.net
>
> To:
> plone-users at lists.sourceforge.net
>
>
> kev <mictlan.tecutli.0 at gmail.com> wrote:
>
>   
>> sadly i don¶ït know javascript, or maybe i could submit the solution. but
>> what i¶ïve been told is that "kupuhelpers should not prototype array in
>> the global namespace". well anyway, if anyone has any ideas on the
>> topic, becuase currently kupu isn¶ït working :(
>> mv_embed is here:
>> http://metavid.ucsc.edu/wiki/index.php/Mv_embed
>> and kupuhelpers is in:
>> Products/kupu/common/kupuhelpers.js
>>     
>
> The rule is not to add methods to Object, if adding methods to Array causes 
> problems it usually indicates that someone is using Javascript's Array type 
> inappropriately, i.e. in a situation where they should be using Object.
>
> I'll try to look at your mv_embed js when I've got a bit more time, but 
> kupu isn't going to change how it uses Array.
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Plone-Users mailing list
> Plone-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/plone-users
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Discuss mailing list
> Discuss at lists.plumi.org
> http://lists.plumi.org/listinfo/discuss
>   



More information about the Discuss mailing list