Browse Source

Fixed minor typo in package.json and fixed resolution of canvas in index.html

Gary Munnelly 2 năm trước cách đây
mục cha
commit
02e56eee85
2 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 2 2
      webapp/index.html
  2. 1 1
      webapp/package.json

+ 2 - 2
webapp/index.html

@@ -2,7 +2,7 @@
 <html>
   <head>
     <meta charset="utf-8">
-    <title>Hello wasm-pack!</title>
+    <title>Fourteen Screws Engine</title>
     <style>
 	  body {
         position: absolute;
@@ -25,7 +25,7 @@
   </head>
   <body style="text-align: center">
     <noscript>This page contains webassembly and javascript content, please enable javascript in your browser.</noscript>
-    <canvas id="canvas" width="300" height="200"></canvas>
+    <canvas id="canvas" width="320" height="200"></canvas>
     <script src="./bootstrap.js"></script>
   </body>
 </html>

+ 1 - 1
webapp/package.json

@@ -1,5 +1,5 @@
 {
-  "name": "create-wasm-app",
+  "name": "fourteen-screws-app",
   "version": "0.1.0",
   "description": "create an app to consume rust-generated wasm packages",
   "main": "index.js",