Skip to content

Commit

Permalink
rename files data and models
Browse files Browse the repository at this point in the history
  • Loading branch information
sergitxu committed Nov 16, 2023
1 parent 3c4d5b3 commit d2a5926
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 10 deletions.
5 changes: 4 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@ <h2>Juegos de Primaria</h2>

<button id="boton-oxidacion" class="empezar">Oxidación</button>

</body>
<div style="display:none;">
<img src="/src/img/englishWords/alien.jpeg">
</div>

</body>

</html>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { EnglishWord, WordTipo } from './EnglishEnums';
import { EnglishWord, WordTipo } from './English.model';

export let englishWords: EnglishWord[] = [
{
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/modules/english/EnglishVocabulary.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { EnglishWord, WordTipo } from './EnglishEnums';
import { englishWords } from './EnglishWords'
import { EnglishWord, WordTipo } from './English.model';
import { englishWords } from './English.data'
import { getRandomElements, mostrar, randomNumber, shuffleArray } from '../generic'
import { Juego, homeWork } from '../../main';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Elemento, ElementoTipo } from "./oxidacionEnums";
import { Elemento, ElementoTipo } from "./oxidacion.model";

export let elementos: Elemento[] = [
{
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/modules/oxidacion/oxidacion.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Juego, homeWork } from '../../main'
import { mostrar, quitarError, randomNumber } from '../generic';
import { elementos } from './oxidacionElements';
import { Elemento, ElementoTipo } from './oxidacionEnums';
import { elementos } from './oxidacion.data';
import { Elemento, ElementoTipo } from './oxidacion.model';

export let elementoPregunta: Elemento = {
tipo: ElementoTipo.metal,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Cosa, Genero } from './retoEnum'
import { Cosa, Genero } from './reto.model'

export let cosas: Cosa[] = [
{
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/modules/reto/reto.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Juego, homeWork } from "../../main";
import { getRandomElements, mostrar, randomNumber } from "../generic";
import { calcular } from "../math";
import { cosas } from "./retoData";
import { Genero } from "./retoEnum";
import { cosas } from "./reto.data";
import { Genero } from "./reto.model";

export let valor_a_reto: number;
export let valor_b_reto: number;
Expand Down

0 comments on commit d2a5926

Please sign in to comment.