Create a static scene #1

Closed
kornerr wants to merge 37 commits from mahjong/mahjong:scn into master
pull from: mahjong/mahjong:scn
3 changed files with 29 additions and 5 deletions
Showing only changes of commit fb1846c3aa - Show all commits

No files matched your search

-2
View File
@@ -2,7 +2,5 @@
1.0.0
https://git.opengamestudio.org/mahjong/mahjong
x /привет|hello.js
/привет|hello.череда
x /пуск|run.js
/пуск|run.череда
+28 -2
View File
@@ -1,8 +1,34 @@
const УКАЗАТЕЛИ_НА_БИБЛИОТЕКИ_МАДЖОНГА = [
"https://bitbucket.org/gitjs/jquery/raw/3.5.1/0000",
"https://bitbucket.org/gitjs/uikit/raw/3.2.0/0000",
"https://git.opengamestudio.org/mahjong/mahjong-osnova-base/raw/branch/master/0000",
"https://git.opengamestudio.org/mahjong/threejs/raw/tag/r119/0000",
];
// // // //
ЗадатьЗаголовокБраузера = мир =>
ЗагрузитьБиблиотекиМаджонга = мир =>
{
document.title = "Красный дракон 🀄 Red dragon";
var указатели = УКАЗАТЕЛИ_НА_БИБЛИОТЕКИ_МАДЖОНГА;
var сообщение = "Загрузка библиотек Маджонга | Loading Mahjong libraries";
console.debug(сообщение, указатели);
var html = "";
for (var номер in указатели)
{
var указатель = указатели[номер];
html += `<li>${указатель}</li>`;
}
document.body.innerHTML += `<p>${сообщение}</p><ul>${html}</ul>`;
мир.модули.использовали.подписатьРаз(function() {
мир.уведомить("ручной пуск");
мир.уведомить("пуск маджонга");
});
мир.модули.использовать(указатели);
};
+1 -1
View File
@@ -1,2 +1,2 @@
пуск
задать заголовок браузера
загрузить библиотеки маджонга