This commit is contained in:
Juan Pablo Vial
2023-07-24 20:41:38 -04:00
parent 6ab24c8961
commit be33305cf1
612 changed files with 11436 additions and 107 deletions

View File

@ -0,0 +1,30 @@
require('./bootstrap');
var autocomplete = require('jquery-ui/ui/widgets/autocomplete');
$(document).ready(function() {
$('form:first').find('*').filter(':input:visible:first').focus();
$('.dropdown-submenu>a').on("click", function(e) {
$(this).next('ul').toggle();
e.stopPropagation();
e.preventDefault();
});
});
require('./jquery.filterTable');
require('./binaryIndexOf');
require('jquery.rut');
String.prototype.ucwords = function() {
str = this.toLowerCase();
return str.replace(/(^([a-zA-Z\p{M}]))|([ -][a-zA-Z\p{M}])/g,
function(s) {
return s.toUpperCase();
});
};
require('./chart');
window.zxcvbn = require('zxcvbn');