inputSearch.addEventListener('focus', function(){
list.classList.add('show');
inputSearch.addEventListener('keydown', function(e){
Object.keys(
$('.qq-upload-list .qq-upload-file').get()
.reduce((acc, curr) => ({...acc, [curr.textContent]: 1}), {})
).length;
card.addEventListener("click", timer.startTime.bind(timer));
илиcard.addEventListener("click", () => timer.startTime());
gulp.task
function sassToCss() {
// ...
}
exports.sass = sassToCss;
const form = document.querySelector('#promoCode');
form.childNodes.forEach((elem) => elem.nodeType === document.TEXT_NODE && elem.remove());
function getData(ts) {
request.post({
url: server['server'],
qs: {
access_token: TOKEN,
v: '5.101',
act: 'a_check',
key: server['key'],
ts: ts,
wait: 25
}
}, (err, response, body) => {
const data = JSON.parse(body);
getData(data.ts);
// handle data
});
}
users.splice(users.indexOf(socket.login), 1);