Михаил Капелько 1 year ago
parent
commit
96d86d5b96
7 changed files with 17 additions and 4 deletions
  1. BIN
      iOS/app/MMMemory.xcodeproj/project.xcworkspace/xcuserdata/mk.xcuserdatad/UserInterfaceState.xcuserstate
  2. +3
    -0
      shared/JavaScript/memorySide.js
  3. +3
    -0
      shared/gen
  4. +3
    -0
      shared/memorySide.ts
  5. +0
    -4
      shared/model.web.js
  6. +1
    -0
      web/memory.html
  7. +7
    -0
      будущее

BIN
iOS/app/MMMemory.xcodeproj/project.xcworkspace/xcuserdata/mk.xcuserdatad/UserInterfaceState.xcuserstate View File


+ 3
- 0
shared/JavaScript/memorySide.js View File

@@ -0,0 +1,3 @@
function memorySide() {
return 50;
}

+ 3
- 0
shared/gen View File

@@ -0,0 +1,3 @@
#!/bin/bash

tsc memorySide.ts --outfile JavaScript/memorySide.js

+ 3
- 0
shared/memorySide.ts View File

@@ -0,0 +1,3 @@
function memorySide(): number {
return 50
}

+ 0
- 4
shared/model.web.js View File

@@ -1,7 +1,3 @@
function memorySide() {
return 50
}

function memorySpace() { function memorySpace() {
return 20 return 20
} }


+ 1
- 0
web/memory.html View File

@@ -5,6 +5,7 @@
</head> </head>
<body> <body>
</body> </body>
<script src="../shared/JavaScript/memorySide.js"></script>
<script src="../shared/model.web.js"></script> <script src="../shared/model.web.js"></script>
<script> <script>
function memoryItemPositions(M) { function memoryItemPositions(M) {


+ 7
- 0
будущее View File

@@ -0,0 +1,7 @@
31.05: 19:35-

* перевести memorySide на TS
* генерить memorySide.js

НАДО:
* генерить memorySide.swift

Loading…
Cancel
Save