From 10eef51a0f086ad148928ba965c330599b4765cb Mon Sep 17 00:00:00 2001 From: Unrud Date: Sun, 4 Jun 2017 17:16:11 +0200 Subject: Update package for new web plugin interface --- radicale_infcloud/web/lib/jquery.autosize.js | 258 +++++++++++++++++++++++++++ 1 file changed, 258 insertions(+) create mode 100644 radicale_infcloud/web/lib/jquery.autosize.js (limited to 'radicale_infcloud/web/lib/jquery.autosize.js') diff --git a/radicale_infcloud/web/lib/jquery.autosize.js b/radicale_infcloud/web/lib/jquery.autosize.js new file mode 100644 index 0000000..b0a3f00 --- /dev/null +++ b/radicale_infcloud/web/lib/jquery.autosize.js @@ -0,0 +1,258 @@ +/*! + Autosize v1.18.0 - 2013-10-20 + 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 ($) { + var + defaults = { + className: 'autosizejs', + append: '', + callback: false, + resizeDelay: 10 + }, + + // border:0 is unnecessary, but avoids a bug in FireFox on OSX + copy = '