Skip to content

Commit

Permalink
Drop accidental leftover from optimization attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
polytypic committed Feb 1, 2017
1 parent c230bd5 commit a48edf2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/partial.lenses.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,10 +282,7 @@ function modifyComposed(os, xi2y, x, y) {
x = getIndex(o, x)
break
default:
o = composed(i, os)
x = o.length === 4
? o(Ident, xi2y || always(y), x, os[i-1])
: (xi2y && xi2y(x, os[i-1]), x)
x = composed(i, os)(Ident, xi2y || always(y), x, os[i-1])
n = i
break
}
Expand Down

0 comments on commit a48edf2

Please sign in to comment.