function importAll(r) {
r.keys().forEach(r);
}
importAll(require.context('.', true, /block\.js$/));
document.body.style.color = 'hsl(10, 10%, 10%)';
const arr = [Array(2), Array(2), Array(2), Array(2)];
const obj = Object.fromEntries(arr);
var minEl = rates[0].value;
var br = rates.filter(function(elem){
return elem.value <= minEl;
});
this.ValueMin = br[0].value;
var rates = response.reduce(function (acc, elem) {
if (elem.id === va) {
if (!acc) {
return elem.value;
}
return elem.value < acc ? elem.value : acc;
}
return acc;
}, 0);
const app = electron.app;
const BrowserWindow = electron.BrowserWindow;
window.addEventListener('wheel', function(e) {
if (e.deltaY < 0) {
console.log('scrolling up');
}
if (e.deltaY > 0) {
console.log('scrolling down');
}
});
function UpdateUser(id, name, email) {
usersData[id].name = name;
usersData[id].email = email;
}
function UpdateUser(id, name, email) {
usersData.forEach(function (item, i, usersData) {
if (userData[i].id === id) {
usersData[i].email = email;
usersData[i].name = name;
}
});
}
<!--=include relative/path/to/header.html -->
gulp.task('clean', function() {
return del('public');
});
return gulp.src(['frontend/assets/{fonts,images}/**', 'frontend/assets/index.html'], {since: gulp.lastRun('assets')})