This website works better with JavaScript.
Home
Explore
Help
Sign In
mahjong
/
mahjong-scena
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
1
Wiki
Activity
Browse Source
Изменения от Главреда ГитЖС | Changes of GitJS Glavred
M-0.1.0
Главред | Glavred
4 years ago
parent
b7de06d515
commit
3781916cf9
2 changed files
with
15 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
0000
+13
-0
функции|functions.js
+ 2
- 1
0000
View File
@@ -7,4 +7,5 @@ x /загрузка|loading.js
x /пуск|run.js
/пуск|run.череда
x /фишки|tiles.js
/фишки|tiles.череда
/фишки|tiles.череда
x /функции|functions.js
+ 13
- 0
функции|functions.js
View File
@@ -0,0 +1,13 @@
номерФишки = (фишки, id) =>
{
for (var номер in фишки)
{
var фишка = фишки[номер];
if (фишка.id == id)
{
return номер;
}
}
return null;
};
Write
Preview
Loading…
Cancel
Save