Sfoglia il codice sorgente

Переместить содержимое муром.файл и муром.лпо в муром.база

master
parent
commit
5d26e97607
4 ha cambiato i file con 68 aggiunte e 69 eliminazioni
  1. +67
    -0
      модули/муром.база_1.0.0.js
  2. +0
    -18
      модули/муром.лпо_1.0.0.js
  3. +0
    -36
      модули/муром.файл_1.0.0.js
  4. +1
    -15
      муром_1.2.0.html

+ 67
- 0
модули/муром.база_1.0.0.js Vedi File

@@ -1,3 +1,45 @@
/*
*
* Скачиваемый файл / Downloaded file
*
*/

муром.файл = {};
муром.файл.начало =
`
<!DOCTYPE html>
<html>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<body>
<script>
var муром = {};
var murom = муром;
муром.модули = [
`;
муром.файл.конец =
`
];

Object.defineProperty(murom, "modules", {
get: function()
{
return муром.модули;
},
set: function(значения)
{
муром.модули = значения;
}
});

var загрузочныйМодуль = муром.модули[0];
var код = atob(загрузочныйМодуль[1]);
eval(код);
</script>
</body>
</html>
`;

/*
*
* UUID
@@ -97,3 +139,28 @@ murom.start = function()
{
муром.пуск.уведомить();
};

/*
*
* Левая и правая области / Left and right regions
*
*/

муром.создатьЛевуюПравуюОбласти = function()
{
// Левая область.
var ло = document.createElement("div");
ло.id="левая-область";
ло.style.cssText =
"position: fixed; left: 0; top: 0; bottom: 0; width: 50%;";
document.body.appendChild(ло);
// Правая область.
var по = document.createElement("div");
по.id="правая-область";
по.style.cssText =
"position: fixed; right: 0; top: 0; bottom: 0; width: 50%;";
document.body.appendChild(по);
return [ло, по];
};

+ 0
- 18
модули/муром.лпо_1.0.0.js Vedi File

@@ -1,18 +0,0 @@
муром.создатьЛевуюПравуюОбласти = function()
{
// Левая область.
var ло = document.createElement("div");
ло.id="левая-область";
ло.style.cssText =
"position: fixed; left: 0; top: 0; bottom: 0; width: 50%;";
document.body.appendChild(ло);
// Правая область.
var по = document.createElement("div");
по.id="правая-область";
по.style.cssText =
"position: fixed; right: 0; top: 0; bottom: 0; width: 50%;";
document.body.appendChild(по);
return [ло, по];
};

+ 0
- 36
модули/муром.файл_1.0.0.js Vedi File

@@ -1,36 +0,0 @@
муром.файл = {};
муром.файл.начало =
`
<!DOCTYPE html>
<html>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<body>
<script>
var муром = {};
var murom = муром;
муром.модули = [
`;
муром.файл.конец =
`
];

Object.defineProperty(murom, "modules", {
get: function()
{
return муром.модули;
},
set: function(значения)
{
муром.модули = значения;
}
});

var загрузочныйМодуль = муром.модули[0];
var код = atob(загрузочныйМодуль[1]);
eval(код);
</script>
</body>
</html>
`;


+ 1
- 15
муром_1.2.0.html Vedi File

@@ -17,23 +17,9 @@ var murom = муром;
],


[
"муром.файл_1.0.0",
"0LzRg9GA0L7QvC7RhNCw0LnQuyA9IHt9OwrQvNGD0YDQvtC8LtGE0LDQudC7LtC90LDRh9Cw0LvQviA9CmAKPCFET0NUWVBFIGh0bWw+CjxodG1sPgogICAgPG1ldGEgY2hhcnNldD0idXRmLTgiPgogICAgPG1ldGEgbmFtZT0idmlld3BvcnQiIGNvbnRlbnQ9IndpZHRoPWRldmljZS13aWR0aCwgaW5pdGlhbC1zY2FsZT0xIj4KICAgIDxib2R5PgogICAgICAgIDxzY3JpcHQ+CnZhciDQvNGD0YDQvtC8ID0ge307CnZhciBtdXJvbSA9INC80YPRgNC+0Lw7CtC80YPRgNC+0Lwu0LzQvtC00YPQu9C4ID0gWwpgOwrQvNGD0YDQvtC8LtGE0LDQudC7LtC60L7QvdC10YYgPQpgCl07CgpPYmplY3QuZGVmaW5lUHJvcGVydHkobXVyb20sICJtb2R1bGVzIiwgewogICAgZ2V0OiBmdW5jdGlvbigpCiAgICB7CiAgICAgICAgcmV0dXJuINC80YPRgNC+0Lwu0LzQvtC00YPQu9C4OwogICAgfSwKICAgIHNldDogZnVuY3Rpb24o0LfQvdCw0YfQtdC90LjRjykKICAgIHsKICAgICAgICDQvNGD0YDQvtC8LtC80L7QtNGD0LvQuCA9INC30L3QsNG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