3
votes
2answers
385 views

Better way to do this in coffeescript

I was actually writing this little script: $ -> # Alter 'input' Width inputResize = -> $('form').each -> tF = $(this) formWidth = tF.width() tF.find('input').each -> ...