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).

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_storage.t.js;real_world=runWithPrototype

Thank You,

Malte
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to [email protected]
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