view app/assets/javascripts/autosize-box-fix.js @ 154:2b5ff3dea35c

Skip application init on precompile.
author Edho Arief <edho@myconan.net>
date Thu, 29 Nov 2012 00:15:57 +0700
parents e8a0e82213cd
children
line wrap: on
line source

(function($) {
  $.autosize_box_fix = function(elem) {
    elem.css('box-sizing', '');
    elem.css('-webkit-box-sizing', '');
    elem.css('-moz-box-sizing', '');
  };
}) (jQuery);