peterramsing / lost

LostGrid is a powerful grid system built in PostCSS that works with any preprocessor and even vanilla CSS.
http://lostgrid.org
MIT License
4.5k stars 160 forks source link

The same body repeated in different condition branch #415

Open thexpand opened 6 years ago

thexpand commented 6 years ago

Take a look here: https://github.com/peterramsing/lost/blob/9ebffd08e1687e1c869f42a57185978fd3fff977/lib/lost-row.js#L83-L93

The same body is used in both the if and the else clause. What is happening? Isn't that some kind of mistake?

peterramsing commented 6 years ago

That's probably something that was there before I refactored everything to use lgLogic. Now the logic handles that and this could go away. Nice catch!