annotate app/assets/javascripts/autosize_box_fix.coffee @ 378:e84276bf344a

Immediate return instead of unless ... end.
author nanaya <me@myconan.net>
date Sat, 06 Jun 2015 22:36:32 +0900
parents 5a4d31e97937
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
347
3ce44f960d3a coffee: autosize_box_fix.
edogawaconan <me@myconan.net>
parents: 97
diff changeset
1 $.autosize_box_fix = (elem) ->
3ce44f960d3a coffee: autosize_box_fix.
edogawaconan <me@myconan.net>
parents: 97
diff changeset
2 elem.css 'box-sizing', ''
3ce44f960d3a coffee: autosize_box_fix.
edogawaconan <me@myconan.net>
parents: 97
diff changeset
3 elem.css '-webkit-box-sizing', ''
3ce44f960d3a coffee: autosize_box_fix.
edogawaconan <me@myconan.net>
parents: 97
diff changeset
4 elem.css '-moz-box-sizing', ''