Vue.component('email-error', require('./EmailError.vue'));
new Vue({
el: '#main',
data: {
email: "Ваша почта",
emailwriting: "Укажите email который Вам выдали.",
submit: "Подтвердить",
seen: true
},
watch: {
emailwriting: function (val) {
var re = new RegExp('^[\\w.+\\-]+@iuca\\.kg$');
if(re.test(this.emailwriting)){
console.log('Email прошел проверку');
}
}
},
components: ['email-error']
})
'clientOptions' => [
// ...
'plugins' => [
"image imagetools",
],
let str = "Тестовая строка для вставки в буфер обмена",
button = document.getElementById("some-btn")
button.onclick () {
document.execCommand("copy");
}
button.addEventListener("copy", (event) => {
event.preventDefault();
event.clipboardData.setData("text/plain", str);
});
sudo apt-get install -y xvfb x11-xkb-utils xfonts-100dpi xfonts-75dpi xfonts-scalable xfonts-cyrillic x11-apps clang libdbus-1-dev libgtk2.0-dev libnotify-dev libgnome-keyring-dev libgconf2-dev libasound2-dev libcap-dev libcups2-dev libxtst-dev libxss1 libnss3-dev gcc-multilib g++-multilib
xvfb-run node --harmony nightmare.js