File modules/cms/ui/themes/default/script/plugin/jquery-plugin-orAutoheight.min.js

Last commit: Sat Dec 18 03:47:23 2021 +0100	dankert	New: Every ES6-Module should have a minified version for performance reasons. Bad: The Minifier "Jsqueeze" is unable to minify ES6-modules, so we had to implement a simple JS-Minifier which strips out all comments.
1 import $ from "../jquery-global.min.js"; 2 export default function() { 3 let resize = function( element ) 4 { 5 let lines = $(element).val().split("\n").length; 6 $(element).attr('rows',lines+3); 7 }; 8 $(this).each(function(i) 9 { 10 resize(this); 11 }); 12 return $(this).keypress(function() 13 { 14 resize(this); 15 }); 16 };
Download modules/cms/ui/themes/default/script/plugin/jquery-plugin-orAutoheight.min.js
History Sat, 18 Dec 2021 03:47:23 +0100 dankert New: Every ES6-Module should have a minified version for performance reasons. Bad: The Minifier "Jsqueeze" is unable to minify ES6-modules, so we had to implement a simple JS-Minifier which strips out all comments. Fri, 21 Aug 2020 00:22:13 +0200 Jan Dankert Refactoring: Collect all frontend compiler scripts in update.php. Compiling of CSS and JS was extracted to a new TemplateCompiler. JS and CSS is now collected in a new openrat.[min.][js|css]. Sun, 23 Feb 2020 04:01:30 +0100 Jan Dankert Refactoring with Namespaces for the cms modules, part 1: moving.