Fix required properties with zero value errors. #52

Merged
merged 1 commit into from Feb 4, 2013

Projects

None yet

2 participants

Contributor

'required' properties that have a zero value generate an error when they should not. This is
due to if (source[property]) check in getProperty, instead of (source[property] !== undefined)

@bjnortier bjnortier Fix required properties with zero value errors.
'required' properties that have a zero value
generate an error when they should not. This is
due to if (source[property]) check in getProperty,
instead of (source[property] !== undefined)
8812353
Owner
Baggz commented Feb 4, 2013

Thanks, @bjnortier.

@Baggz Baggz closed this Feb 4, 2013
@Baggz Baggz reopened this Feb 4, 2013
@Baggz Baggz merged commit dc0de36 into Baggz:master Feb 4, 2013

1 check passed

default The Travis build passed
Details
Contributor

Thanks for merging!

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