Skip to content

Commit

Permalink
Remove commented source code
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Jul 7, 2016
1 parent 53586ad commit 923c7df
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,6 @@ function Osom (schemaBlueprint, globalRules) {
var value
if (rule.casting && hasValue) value = rule.type(obj[name])
else if (rule.default) value = !isFunction(rule.default) ? rule.default : rule.default()
// else {
// value = obj[name]
// }

// lodash.flow is buggy, this is a workaround (and dep-free)
value = reduce(rule.transform, function (acc, fn) {
Expand Down

0 comments on commit 923c7df

Please sign in to comment.