orbitjs/orbit.js — pull request #41 by tute (2014-07-30 05:47:55+00:00)
Title: `null` relation raises exception

I've got a relation that sometimes is set to `null`. In JS, `typeof null === 'object'`, and then this line of code was calling `Object.keys` on `null` (non object).

If this bugfix is correct I'll add regression tests, else, happy to improve the patch.

Thanks for your work!