Compare commits

8 Commits

6 changed files with 34 additions and 9 deletions

11
0000
View File

@@ -1,5 +1,8 @@
Привет
1.0.0
Привет | Hello
4.0.0
https://git.opengamestudio.org/kornerr/primer-sample
/привет.череда
x /привет.js
x /большефайлов.js
/большефайлов.череда
x /привет|hello.js
/привет|hello.череда

View File

@@ -0,0 +1,5 @@
ОчередноеПриветствиеИзДругогоФайла = мир =>
{
document.body.innerHTML += "<p>Ну, привет ещё раз, Батыга!</p>";
document.body.innerHTML += "<p>Hey there once again, Batiga!</p>"
};

View File

@@ -0,0 +1,2 @@
пуск
очередное приветствие из другого файла

View File

@@ -1,5 +0,0 @@
ПоприветствоватьМир = function()
{
console.log("Привет, мир!");
document.body.innerHTML = "<h1>Привет, мир!</h1>";
};

19
привет|hello.js Normal file
View File

@@ -0,0 +1,19 @@
ДобавитьСтрок = мир =>
{
document.body.innerHTML += "<p>Больше строк = лучше</p>";
document.body.innerHTML += "<p>More strings the better</p>"
}
// // // //
ПоприветствоватьМир = function()
{
console.log("Привет, мир!");
console.log("Hello, world!");
document.body.innerHTML += "<h1>Привет, мир!</h1>";
document.body.innerHTML += "<h1>Hello, world!</h1>";
};

View File

@@ -1,2 +1,3 @@
пуск
поприветствовать мир
добавить строк