Explorar o código

remove phaser cdn usage

bernardo %!s(int64=3) %!d(string=hai) anos
pai
achega
c510c9ef8b
Modificáronse 2 ficheiros con 183361 adicións e 3 borrados
  1. 2 3
      index.html
  2. 183359 0
      js/phaser.js

+ 2 - 3
index.html

@@ -4,8 +4,7 @@
 <head>
     <meta charset="UTF-8" />
     <title>iHanoi</title>
-    <!-- Eliminar esta referencia externa! Melhor seria eliminar o Phaser!!! -->
-    <script src="https://cdn.jsdelivr.net/npm/phaser@3.16.2/dist/phaser.js"></script>
+    <script src="js/phaser.js"></script>
     <script src="js/jquery-3.3.1.min.js"></script>
     <style type="text/css">
         body {
@@ -23,4 +22,4 @@
 
 </body>
 
-</html>
+</html>

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 183359 - 0
js/phaser.js