HydrateJS icon indicating copy to clipboard operation
HydrateJS copied to clipboard

Improved Javascript Serialization for objects

Results 5 HydrateJS issues
Sort by recently updated
recently updated
newest added

var obj = { show: function() { console.log('ok'); }}; // error: Couldn't serialize object; had non-prototype function

when we have some function-type properties in our objects, but we want hydrate objects with loose of theese function-type properties.

When hydrate is installed with `npm install hydrate` it doesn't call the `compile-dev.sh` script automatically. It is needed to be run by hand. It was tested under ubuntu 14.04

The hydrate version installed with `npm install hydrate` does not contains theese commits: - 2e36e333ad67978542a5dcbc0e0bc94361bfb2b5 - dbad0c0bc989f2a7420835cc1525a28b19226acf - eabb32f85eb41912a163fa5d22c76aeb45d22fdd

If you add `undefined` to the list of primitives, the ["should serialize primitives" test](https://github.com/nanodeath/HydrateJS/blob/master/spec/HydrateSpec.js#L25-26) fails: ``` Javascript it("should serialize primitives", function() { var inputs = [undefined, 3, "foo", ["a", 3,...