Spaces:
Running
Running
Update app.js
Browse files
app.js
CHANGED
|
@@ -1,10 +1,17 @@
|
|
| 1 |
// app.js
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
// app.js
|
| 2 |
+
|
| 3 |
+
document.addEventListener('DOMContentLoaded', () => {
|
| 4 |
+
// ----------------------------------------------------
|
| 5 |
+
// 馃洃 COPIA Y PEGA AQU脥 TODO TU C脫DIGO ACTUAL (desde 'const addLayerFile = ...')
|
| 6 |
+
// ----------------------------------------------------
|
| 7 |
+
|
| 8 |
+
const addLayerFile = document.getElementById('addLayerFile');
|
| 9 |
+
// ... todas las dem谩s variables y funciones ...
|
| 10 |
+
|
| 11 |
+
// ...
|
| 12 |
+
// ... (Tu c贸digo actual debe estar aqu铆) ...
|
| 13 |
+
// ...
|
| 14 |
+
|
| 15 |
+
// ... (Incluyendo la funci贸n exportWebM corregida en el mensaje anterior)
|
| 16 |
+
|
| 17 |
+
}); // Cierre del listener de carga
|