{"version":3,"file":"jquery.autogrow-textarea.min.js","sources":["jquery.autogrow-textarea.js"],"sourcesContent":["( function( $ ) {\n\n /*\n * Auto-growing textareas; technique ripped from Facebook\n */\n $.fn.autogrow = function( options ) {\n\n this.filter( 'textarea' ).each( function( ) {\n\n var $this = $( this ),\n minHeight = $this.height( ),\n\t\t\t\tshadow = $( '
' ).css( { // The box we'll drop the text in to measure it.\n\t\t\t\t\ttop:\t\t\t'-1000em',\n\t\t\t\t\tleft:\t\t\t'-1000em',\n\t\t\t\t\tzIndex:\t\t\t200,\n\t\t\t\t\twidth:\t\t\t$( this ).width( ) - parseInt( $this.css( 'paddingLeft' ) ) - parseInt( $this.css( 'paddingRight' ) ),\n\t\t\t\t\tresize:\t\t\t'none',\n\t\t\t\t\tposition:\t\t'absolute',\n\t\t\t\t\twordWrap:\t\t'break-word',\n\t\t\t\t\tfontSize:\t\t$this.css( 'fontSize' ),\n\t\t\t\t\tfontFamily:\t\t$this.css( 'fontFamily' ),\n\t\t\t\t\tlineHeight:\t\t$this.css( 'lineHeight' ),\n\t\t\t\t\tletterSpacing:\t$this.css( 'letterSpacing' )\n\t\t\t\t} ).appendTo( document.body ),\n\t\t\t\tupdate = function( ) {\n\n\t\t\t\t\tvar times = function( string, number ) {\n\t\t\t\t\t\tfor ( var i = 0, r = ''; i < number; i ++ ) r += string;\n\t\t\t\t\t\treturn r;\n\t\t\t\t\t},\n\t\t\t\t\t// Clean up the string\n\t\t\t\t\t\tval = this.value.replace( //g, '>' )\n\t\t\t\t\t\t\t\t\t\t.replace( /&/g, '&' )\n\t\t\t\t\t\t\t\t\t\t.replace( /\\n$/, '