-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
should serialize undefined #2
Comments
Thanks BallBearing, should be fixed in above commit. |
There still appears to be problems with this. var hydrate = new Hydrate();
hydrate.parse(hydrate.stringify([undefined])); // => ["__hydrate_undef"] |
Hi @skeeto -- can you double-check? I'm running those exact commands and I'm getting |
Using the pre-compiled version hosted here: http://blog.maxaller.name/hydrate/gen/Hydrate.js (sha1sum: I'm still getting |
Ah. Yes, that probably hasn't been updated -- it doesn't happen automatically. I'm making some more changes today, but I'll update it after that. I'm making some changes that will make it easier to compile it yourself, too. |
If you add
undefined
to the list of primitives, the "should serialize primitives" test fails:The text was updated successfully, but these errors were encountered: