On Nov 15, 7:36 am, Malte <[EMAIL PROTECTED]> wrote:
> Hey,
>
> we are working on making the JS meta system Joose (http://
> code.google.com/p/joose-js/) compatible with Prototype.js
>
> We had to make some pretty serious changes to cope with Prototype's
> prototype extension and especially some global identifiers like
> "Class" and "Prototype" that are used in both libraries. Anyway,
> mostly everything works now, the only problem that remains is related
> to JSON stringification.
>
> Joose provides a Role called Joose.Storage that makes Joose objects
> storable. The preferred method is JSON and a custom  toJSON method is
> provided to make serialization with json2.js automatic. However, when
> used in conjunction with Prototype.js the resulting objects seems to
> be encoded again (More info: In effect the problem only occurs if the
> Joose objects is located with regular JS objects).

Could you explain what "located with regular JS objects" means? It
would also be helpful to see a stripped down version of this bug  -
the test suite doesn't provide any pointers as to what/where went
wrong (or at least I can't find any).

>
> We would really like to get Joose to pass all tests when run with
> Prototype. Could somebody give us a hint about what is going wrong?
>
> You can run the test individually and see the problem right 
> here:http://joose-js.googlecode.com/svn/trunk/tests/test.html#test=12_stor...
>
> Thank You,
>
> Malte

--
kangax
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to