Skip to content

Commit bfe6910

Browse files
authored
Update router.js
1 parent 068b98d commit bfe6910

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/boot/router.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ define(function () {
2323

2424
//DEFINIR COMO FUNCION
2525
return function () {
26-
//HASH CHANGE EVENT
26+
//EVENTO DE CAMBIO DE HASH
2727
$(window).on("hashchange", function () {
2828
window.router.actualizar();
2929
});
@@ -32,15 +32,15 @@ define(function () {
3232
window.router.actualizar('inicio');
3333
};
3434

35-
//OBTENER EL MÓDULO VISTA
35+
//OBTENER EL MODULO VISTA
3636
function _getNombreVista(def) {
3737

3838
var hash = _getUrlParameter(location.hash, "view") || def;
3939
if (!hash) {
4040
return;
4141
}
4242

43-
//AÑADIR CLASE 'vista_'
43+
//ANHADIR CLASE 'vista_'
4444
//https://stackoverflow.com/questions/2644299/jquery-removeclass-wildcard
4545
$("html").removeClass(function (index, className) {
4646
return (className.match(/(^|\s)vista_\S+/g) || []).join(' ');

0 commit comments

Comments
 (0)