codebrew / backbone-rails

Easily use backbone.js with rails 3.1
MIT License
1.62k stars 255 forks source link

strip all trailing whitespace #68

Closed joliss closed 12 years ago

joliss commented 12 years ago

Trailing whitespace is especially annoying in the generated files.

find -name .git -prune -o -type f -print | xargs perl -pi -e 's/\s+\n/\n/'

(The tests still pass.)

joliss commented 12 years ago

/cc @codebrew @ryanfitz

Hm, I think Chris did this in 468065a already, and it just didn't make it into the last release. My patch only catches the rest, outside the generators.

I guess this would cause horrible merge conflicts with the other 12 outstanding pull requests, so I'll just close this. :-)