diff --git a/autosize.jquery.json b/autosize.jquery.json index a4f42ed..1bd5878 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.0", + "version": "1.18.1", "dependencies": { "jquery": ">=1.7" }, diff --git a/bower.json b/bower.json index 7924d50..dc9e270 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.0", + "version": "1.18.1", "dependencies": { "jquery": ">=1.7" }, diff --git a/jquery.autosize.js b/jquery.autosize.js index 2a1f788..15d8341 100644 --- a/jquery.autosize.js +++ b/jquery.autosize.js @@ -1,18 +1,10 @@ /*! - Autosize v1.18.0 - 2013-10-20 + Autosize v1.18.1 - 2013-11-05 Automatically adjust textarea height based on user input. (c) 2013 Jack Moore - http://www.jacklmoore.com/autosize license: http://www.opensource.org/licenses/mit-license.php */ -(function (factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['jquery'], factory); - } else { - // Browser globals: jQuery or jQuery-like library, such as Zepto - factory(window.jQuery || window.$); - } -}(function ($) { +(function ($) { var defaults = { className: 'autosizejs', @@ -255,4 +247,4 @@ adjust(); }); }; -})); +}(window.jQuery || window.$)); // jQuery or jQuery-like library, such as Zepto \ No newline at end of file diff --git a/jquery.autosize.min.js b/jquery.autosize.min.js index 06022a8..6763b64 100644 --- a/jquery.autosize.min.js +++ b/jquery.autosize.min.js @@ -1,7 +1,7 @@ /*! - Autosize v1.18.0 - 2013-10-20 + Autosize v1.18.1 - 2013-11-05 Automatically adjust textarea height based on user input. (c) 2013 Jack Moore - http://www.jacklmoore.com/autosize license: http://www.opensource.org/licenses/mit-license.php */ -(function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e(window.jQuery||window.$)})(function(e){var t,o={className:"autosizejs",append:"",callback:!1,resizeDelay:10},i='