File modules/cms/ui/themes/default/script/plugin/jquery-plugin-orButton.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( options ) 3 { 4 let settings = $.extend( { 5 'selectorForClose': '.or-view' 6 }, options); 7 let button = this; 8 $( settings.selectorForClose ).click( function() { 9 }); 10 return $(this) 11 .addClass('button--is-watched') 12 .click( function() { 13 $(this).toggleClass('button--is-active'); 14 } ) ; 15 };
Downloadmodules/cms/ui/themes/default/script/plugin/jquery-plugin-orButton.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.