var ComponentsFormTools2=function(){var selectSplitter=function(){$('#select_selectsplitter1').selectsplitter({selectSize:4});$('#select_selectsplitter2').selectsplitter({selectSize:6});$('#select_selectsplitter3').selectsplitter({selectSize:5});}
var miniColors=function(){$('.demo').each(function(){$(this).minicolors({control:$(this).attr('data-control')||'hue',defaultValue:$(this).attr('data-defaultValue')||'',inline:$(this).attr('data-inline')==='true',letterCase:$(this).attr('data-letterCase')||'lowercase',opacity:$(this).attr('data-opacity'),position:$(this).attr('data-position')||'bottom left',change:function(hex,opacity){if(!hex)return;if(opacity)hex+=', '+opacity;if(typeof console==='object'){console.log(hex);}},theme:'bootstrap'});});}
return{init:function(){selectSplitter();miniColors();}};}();