Create a static scene #1
No files matched your search
@@ -2,5 +2,6 @@
|
|||||||
1.0.0
|
1.0.0
|
||||||
https://git.opengamestudio.org/mahjong/mahjong
|
https://git.opengamestudio.org/mahjong/mahjong
|
||||||
|
|
||||||
|
/модули|modules
|
||||||
x /пуск|run.js
|
x /пуск|run.js
|
||||||
/пуск|run.череда
|
/пуск|run.череда
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
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/threejs/raw/tag/r119/0000
|
||||||
|
https://git.opengamestudio.org/mahjong/threejs/raw/branch/master/0000
|
||||||
|
https://git.opengamestudio.org/mahjong/mahjong-osnova-base/raw/branch/master/0000
|
||||||
+14
-8
@@ -1,11 +1,5 @@
|
|||||||
|
|
||||||
const УКАЗАТЕЛИ_НА_БИБЛИОТЕКИ_МАДЖОНГА = [
|
const ИМЯ = "Маджонг | Mahjong";
|
||||||
"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/threejs/raw/tag/r119/0000",
|
|
||||||
"https://git.opengamestudio.org/mahjong/threejs/raw/branch/master/0000",
|
|
||||||
"https://git.opengamestudio.org/mahjong/mahjong-osnova-base/raw/branch/master/0000",
|
|
||||||
];
|
|
||||||
|
|
||||||
|
|
||||||
// // // //
|
// // // //
|
||||||
@@ -13,7 +7,19 @@ const УКАЗАТЕЛИ_НА_БИБЛИОТЕКИ_МАДЖОНГА = [
|
|||||||
|
|
||||||
ЗагрузитьБиблиотекиМаджонга = мир =>
|
ЗагрузитьБиблиотекиМаджонга = мир =>
|
||||||
{
|
{
|
||||||
var указатели = УКАЗАТЕЛИ_НА_БИБЛИОТЕКИ_МАДЖОНГА;
|
var указатели = [];
|
||||||
|
var модуль = мир.модули.модульПоИмени(ИМЯ);
|
||||||
|
var содержимое = модуль.содержимое["/модули|modules"];
|
||||||
|
var строки = содержимое.split(/\n/);
|
||||||
|
for (var номер in строки)
|
||||||
|
{
|
||||||
|
var строка = строки[номер];
|
||||||
|
if (!строка.startsWith("#"))
|
||||||
|
{
|
||||||
|
указатели.push(строка);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
var сообщение = "Загрузка библиотек Маджонга | Loading Mahjong libraries";
|
var сообщение = "Загрузка библиотек Маджонга | Loading Mahjong libraries";
|
||||||
console.debug(сообщение, указатели);
|
console.debug(сообщение, указатели);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user