From 7ad59f0b5cc6e91dcc4af4679b01d6f120aee579 Mon Sep 17 00:00:00 2001 From: Jack Moore Date: Tue, 9 Sep 2014 17:17:31 -0400 Subject: [PATCH] Added white-space to the list of monitored textarea properties. --- autosize.jquery.json | 2 +- bower.json | 2 +- jquery.autosize.js | 10 +++++----- jquery.autosize.min.js | 9 ++++----- package.json | 8 ++++---- readme.md | 3 +++ 6 files changed, 18 insertions(+), 16 deletions(-) diff --git a/autosize.jquery.json b/autosize.jquery.json index aacccd1..fc6928e 100644 --- a/autosize.jquery.json +++ b/autosize.jquery.json @@ -2,7 +2,7 @@ "name": "autosize", "title": "Autosize", "description": "Automatically adjust textarea height based on user input.", - "version": "1.18.9", + "version": "1.18.10", "dependencies": { "jquery": ">=1.7" }, diff --git a/bower.json b/bower.json index e6f74f2..36cef4a 100644 --- a/bower.json +++ b/bower.json @@ -1,7 +1,7 @@ { "name": "jquery-autosize", "description": "Automatically adjust textarea height based on user input.", - "version": "1.18.9", + "version": "1.18.10", "dependencies": { "jquery": ">=1.7" }, diff --git a/jquery.autosize.js b/jquery.autosize.js index 27b341b..51b1d09 100644 --- a/jquery.autosize.js +++ b/jquery.autosize.js @@ -1,8 +1,7 @@ /*! - Autosize v1.18.9 - 2014-05-27 - Automatically adjust textarea height based on user input. - (c) 2014 Jack Moore - http://www.jacklmoore.com/autosize - license: http://www.opensource.org/licenses/mit-license.php + Autosize 1.18.10 + license: MIT + http://www.jacklmoore.com/autosize */ (function ($) { var @@ -27,7 +26,8 @@ 'letterSpacing', 'textTransform', 'wordSpacing', - 'textIndent' + 'textIndent', + 'whiteSpace' ], // to keep track which textarea is being mirrored when adjust() is called. diff --git a/jquery.autosize.min.js b/jquery.autosize.min.js index 958b43b..bf7d1e2 100644 --- a/jquery.autosize.min.js +++ b/jquery.autosize.min.js @@ -1,7 +1,6 @@ /*! - Autosize v1.18.9 - 2014-05-27 - Automatically adjust textarea height based on user input. - (c) 2014 Jack Moore - http://www.jacklmoore.com/autosize - license: http://www.opensource.org/licenses/mit-license.php + Autosize 1.18.10 + license: MIT + http://www.jacklmoore.com/autosize */ -(function(e){var t,o={className:"autosizejs",id:"autosizejs",append:"\n",callback:!1,resizeDelay:10,placeholder:!0},i='