Jean-Philippe Encausse
2007-Nov-08 11:07 UTC
Regression after migrating from Prototype 1.5.1.1 to 1.6 on Hash
Hi !
It seems we have found a little regression after migrating from
Prototype 1.5.1.1 to 1.6
on Hash object:
var map = { hello: 42 };
var prototypeMap = $H(map);
var msg = "map.hello: " + map.hello + "<br>\n" +
"prototypeMap.hello: " + prototypeMap.hello ;
On prototype 1.5.1.1 the result is :
map.hello: 42
prototypeMap.hello: 42
On prototype 1.6 the result is :
map.hello: 42
prototypeMap.hello: undefined
I can send you a zip file that demonstrate the issue
Regards,
Jp
--
Jean-Philippe Encausse - Veille / R&D Jalios SA
Jp [at] encausse.net - http://www.encausse.com - http://www.jalias.com
GTalk: jp.encausse [at] gmail.com - SMS: sms [at] jp.encausse.net
Mob: +33 6 82 12 56 99 - Job: +33 1 39 23 92 83 - Tel: +33 1 39 18 90 15
Do it Once, Use it Twice ~ Do it Twice, Make It Once
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---
Richard Quadling
2007-Nov-08 11:56 UTC
Re: Regression after migrating from Prototype 1.5.1.1 to 1.6 on Hash
prototypeMap.get(''hello'');
See
http://prototypejs.org/2007/10/16/prototype-1-6-0-rc1-changes-to-the-class-and-event-apis-hash-rewrite-and-bug-fixes
Specifically "Complete rewrite of the Hash class"
On 08/11/2007, Jean-Philippe Encausse
<Jp-vcK5r0oTKUrk1uMJSBkQmQ@public.gmane.org>
wrote:>
> Hi !
>
> It seems we have found a little regression after migrating from
> Prototype 1.5.1.1 to 1.6
> on Hash object:
>
>
> var map = { hello: 42 };
> var prototypeMap = $H(map);
>
> var msg = "map.hello: " + map.hello + "<br>\n"
+
> "prototypeMap.hello: " + prototypeMap.hello ;
>
>
> On prototype 1.5.1.1 the result is :
> map.hello: 42
> prototypeMap.hello: 42
>
> On prototype 1.6 the result is :
> map.hello: 42
> prototypeMap.hello: undefined
>
>
> I can send you a zip file that demonstrate the issue
> Regards,
> Jp
> --
> Jean-Philippe Encausse - Veille / R&D Jalios SA
> Jp [at] encausse.net - http://www.encausse.com - http://www.jalias.com
> GTalk: jp.encausse [at] gmail.com - SMS: sms [at] jp.encausse.net
> Mob: +33 6 82 12 56 99 - Job: +33 1 39 23 92 83 - Tel: +33 1 39 18 90 15
> Do it Once, Use it Twice ~ Do it Twice, Make It Once
>
> >
>
--
-----
Richard Quadling
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever giants!"
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---