Михаил Капелько 1 year ago
parent
commit
b7a3be5685
3 changed files with 12 additions and 12 deletions
  1. BIN
      iOS/app/MMMemory.xcodeproj/project.xcworkspace/xcuserdata/mk.xcuserdatad/UserInterfaceState.xcuserstate
  2. +11
    -0
      shared/model.web.js
  3. +1
    -12
      web/memory.html

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


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

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

function memorySpace() {
return 20
}

function memoryGap() {
return memorySide() + memorySpace()
}

+ 1
- 12
web/memory.html View File

@@ -5,19 +5,8 @@
</head>
<body>
</body>
<script src="../shared/model.web.js"></script>
<script>
function memorySide() {
return 50
}

function memorySpace() {
return 20
}

function memoryGap() {
return memorySide() + memorySpace()
}

function memoryItemPositions(M) {
var pos = []
for (var i = 0; i < M.itemsCount; i++) {


Loading…
Cancel
Save