Hey.
Just finished porting to the class to 1.3. There were actually some
non-trivial changes there (for the dev team - I had to change the
NativeEvents number to 2 for it to work on IE - any idea why?)

Thanks for the incentive - it's really hard for me to find the time to port
all my plugins. 1.3 version is much nicer without the Hash everywhere. It
was only there for the cloning procedure. Its much easier (and I think also
cheaper) now that Object.clone is around, and all the other Object sugar.
That alongside Event:pseudo are by far my favorite additions to 1.3

On Fri, Nov 19, 2010 at 8:37 PM, divinentd <[email protected]> wrote:

> Hi All,
> I'm working on migrating a 1.2.4 plugin (HistoryManager) to 1.3. It's
> mostly been a bunch of easy stuff like $merge and $type, but now I'm
> running into something that might have been an undocumented method
> which was dropped: Hash.toJSON();
>
> I can use Hash.toQueryString() and then manually convert it over using
> String.replace, but maybe there's a more elegant MooTools method
> approach?
>
> The goal is to store a JSON string in the hash, like this:
>
> http://arieh.github.com/HistoryManager/#{%22color%22:%22red%22,%22size%22:1}<http://arieh.github.com/HistoryManager/#%7B%22color%22:%22red%22,%22size%22:1%7D>




-- 
Arieh Glazer
אריה גלזר
052-5348-561
5561

Reply via email to