Skip to content

Commit

Permalink
corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
CaldeCrack committed Nov 14, 2023
1 parent 93b2ea3 commit b565b8f
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Tareas/Tarea_1/js/validacion-artesano.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const validateCraftImages = (files) => {

const validateName = (name) => {
const nameLength = name.length;
if(nameLength < 3 || 80 < nameLength) return false;
if(nameLength < 3 || 80 < nameLength && name.trim()) return false;
return true;
}

Expand Down
2 changes: 1 addition & 1 deletion Tareas/Tarea_1/js/validacion-hincha.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const validateTransport = (transport) => {

const validateName = (name) => {
const nameLength = name.length;
if(nameLength < 3 || 80 < nameLength) return false;
if(nameLength < 3 || 80 < nameLength && name.trim()) return false;
return true;
}

Expand Down
2 changes: 1 addition & 1 deletion Tareas/Tarea_2/app/static/js/validacion-artesano.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const validateCraftImages = (files) => {

const validateName = (name) => {
const nameLength = name.length;
if(nameLength < 3 || 80 < nameLength) return false;
if(nameLength < 3 || 80 < nameLength && name.trim()) return false;
return true;
}

Expand Down
2 changes: 1 addition & 1 deletion Tareas/Tarea_2/app/static/js/validacion-hincha.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const validateTransport = (transport) => {

const validateName = (name) => {
const nameLength = name.length;
if(nameLength < 3 || 80 < nameLength) return false;
if(nameLength < 3 || 80 < nameLength && name.trim()) return false;
return true;
}

Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion Tareas/Tarea_3/app/static/js/validacion-artesano.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const validateCraftImages = (files) => {

const validateName = (name) => {
const nameLength = name.length;
if(nameLength < 3 || 80 < nameLength) return false;
if(nameLength < 3 || 80 < nameLength && name.trim()) return false;
return true;
}

Expand Down
2 changes: 1 addition & 1 deletion Tareas/Tarea_3/app/static/js/validacion-hincha.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const validateTransport = (transport) => {

const validateName = (name) => {
const nameLength = name.length;
if(nameLength < 3 || 80 < nameLength) return false;
if(nameLength < 3 || 80 < nameLength && name.trim()) return false;
return true;
}

Expand Down

0 comments on commit b565b8f

Please sign in to comment.