/
, либо удали его, либо сделай двойным //
, чтоб сошел за комментарий. const delayedFunction = (callback, delay) => {
return (...args) => {
setTimeout(() => {
if (callback instanceof Function) {
callback(...args);
}
}, delay);
}
}
function someFunc(a,b,c,d,e) {
console.log(a, b, c, d, e);
}
function someFunc2(...args) {
console.log(args);
}
const df1 = delayedFunction(someFunc, 1000);
const df2 = delayedFunction(someFunc2, 2000);
df1("message 1", 1,2,3);
df2("message 2",5,6,7,8,9,0);
section {
padding-left: 14px;
padding-right: 14px;
border-top: 100px solid transparent; /* Эту удалить */
margin-top: -100px; /* Эту удалить */
background-clip: padding-box;
padding-bottom: 20px;
}
class Button;
class RedButton extends Button;
interface Button;
class Image implements Button;
Access-Control-Allow-Origin "*"
, так как твой апач возвращает его только для порта 80, а сокет сервер у тебя на 2053 порту. let data = new FormData();
let gameFile = document.getElementById("create-game-file").files[0];
data.append('gameFile', gameFile, gameFile.name);
let settings = {
headers: {
'content-type': 'multipart/form-data'
}
};
axios.post('api/games', data, settings)
.then(response => {
console.log(response)
}).catch(response => {
console.log(response)
})
echo hash("sha256" , "my_password" . "salt");
class Figure {
constructor(edges: number[], angles: number[]) {
// ...
}
}
class Rectangle extends Figure {
constructor(x: number, y: number) {
super([x, y, x, y], [90, 90, 90, 90]);
}
}
class Square extends Rectangle {
constructor(x: number) {
super(x, x);
}
}
.col
, ты задаешь автоматическое поведение. Тебе надо конкретно задавать классы для конкретных брейкпоинтов .col-xs-12 .col-sm-12 .col-md-6 .col-lg-4 .col-xl-3
. А порядок задаешься с помощью .order-*