Closed ramivalta closed 8 years ago
Awesome, thanks!
@tiil Ah, spoke too soon - test failures. (Apparently I didn't have Travis set up to build PRs - sorry about that!)
I reverted this on master. Can you address the test failures and make a fresh PR?
I'm on it, apologies for not running the tests before submitting.
This must be because Object.keys is an ES5 feature, and some old browsers (namely IE8) doesn't support it. Would you be against introducing a dependency on es5-shim (https://github.com/es-shims/es5-shim)?
Actually we could just use lodash.keys since lodash is already a devDependency.
Adds a check to isMergableObject function that ensures it returns false for an empty object. Ping @rtfeldman