aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/.eslintrc
diff options
context:
space:
mode:
authorMaxime Lapointe <hunter_spawn@hotmail.com>2017-07-25 14:00:39 -0400
committerMaxime Lapointe <hunter_spawn@hotmail.com>2017-07-25 22:17:47 -0400
commit110e0e1fcceab68716e0c75d87baffb14403b288 (patch)
treea41c218554b33a6aca16e66965d6c8d061e0c6d3 /activestorage/.eslintrc
parent6f9b01c056cd2f3a4761baf78df207e1154f1b06 (diff)
downloadrails-110e0e1fcceab68716e0c75d87baffb14403b288.tar.gz
rails-110e0e1fcceab68716e0c75d87baffb14403b288.tar.bz2
rails-110e0e1fcceab68716e0c75d87baffb14403b288.zip
Avoid duplicate clauses when using #or
Condenses the clauses that are common to both sides of the OR and put them outside, before the OR This fix the current behavior where the number of conditions is exponential based on the number of times #or is used.
Diffstat (limited to 'activestorage/.eslintrc')
0 files changed, 0 insertions, 0 deletions