Simplize deserialize condition #818

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
Member

tricknotes commented Mar 18, 2013

Return undefined directly the same as serialize

Simplize deserialize condition
Return `undefined` directly the same as `serialize`.
Owner

igorT commented Apr 5, 2013

Thanks for the PR but I think the way it was before is better as it explicitly states that we expect serialized to be null or undefined and that otherwise we don't know what to do with it(should probably raise an error).

@igorT igorT closed this Apr 5, 2013

@tricknotes tricknotes deleted the tricknotes:simplize-condition branch Apr 6, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment