o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1339771359.468711: @value{I" class:EFI"BundledAsset; FI"id; F"%280ef8a67c63f328318a5216512dc3e8I"logical_path; F"speedo/jquery.autogrow.jsI" pathname; F"l/Users/stu/Documents/Work/CrankApps/Projects/speedo/vendor/assets/javascripts/speedo/jquery.autogrow.jsI"content_type; FI"application/javascript; FI" mtime; FI"2012-03-22T09:12:18-04:00; FI" body; FI"›(function($) { /* * Auto-growing textareas */ $.fn.autogrow = function(options) { this.filter('textarea').each(function() { var $this = $(this), minHeight = $this.height(), lineHeight = $this.css('lineHeight'); var shadow = $('
').css({ position: 'absolute', top: -10000, left: -10000, width: $(this).width() - parseInt($this.css('paddingLeft')) - parseInt($this.css('paddingRight')), fontSize: $this.css('fontSize'), fontFamily: $this.css('fontFamily'), lineHeight: $this.css('lineHeight'), resize: 'none' }).appendTo(document.body); var update = function() { var times = function(string, number) { var _res = ''; for(var i = 0; i < number; i ++) { _res = _res + string; } return _res; }; var val = this.value.replace(//g, '>') .replace(/&/g, '&') .replace(/\n$/, '
 ') .replace(/\n/g, '
') .replace(/ {2,}/g, function(space) { return times(' ', space.length -1) + ' ' }); shadow.html(val); $(this).css('height', Math.max(shadow.height() + 20, minHeight)); } $(this).change(update).keyup(update).keydown(update); update.apply(this); }); return this; } })(jQuery); ; FI"asset_paths; F["l/Users/stu/Documents/Work/CrankApps/Projects/speedo/vendor/assets/javascripts/speedo/jquery.autogrow.jsI"dependency_paths; F[{I" path; F"l/Users/stu/Documents/Work/CrankApps/Projects/speedo/vendor/assets/javascripts/speedo/jquery.autogrow.jsI" mtime; FIu: Time Í € 1: @_zoneI"EDT; T: offsetiþÀÇI"hexdigest; F"%1eb9e00779da0fd575ea404b0b7c3a96I" _version; F"%46dde6621c301f4928e3b34efee9e3b5