Travis build: 299 [cron]

This commit is contained in:
30secondsofcode
2018-08-30 20:05:38 +00:00
parent 37fbde0d4f
commit ba8cfb9d88
4 changed files with 1656 additions and 1669 deletions

File diff suppressed because one or more lines are too long

View File

@ -2166,10 +2166,10 @@
"type": "snippet",
"attributes": {
"fileName": "hide.md",
"text": "Hides all the elements specified.\n\nUse the spread operator (`...`) and `Array.forEach()` to apply `display: none` to each element specified.",
"text": "Hides all the elements specified.\n\nUse `NodeList.prototype.forEach()` to apply `display: none` to each element specified.",
"codeBlocks": [
"const hide = (...el) => [...el].forEach(e => (e.style.display = 'none'));",
"hide(...document.querySelectorAll('img')); // Hides all <img> elements on the page"
"const hide = els => els.forEach(e => (e.style.display = 'none'));",
"hide(document.querySelectorAll('img')); // Hides all <img> elements on the page"
],
"tags": [
"browser",
@ -2178,7 +2178,7 @@
},
"meta": {
"archived": false,
"hash": "936ca95ab4a3a012580a45574f77cb8f8c2b70d60e8506627bf4eb2ef8743fa2"
"hash": "8b7b70809f93fd9392315a5c63aa4cbbf9b45eb1165a7d44db314186d407816b"
}
},
{

View File

@ -1,2 +1,2 @@
const hide = els => els.forEach(e => e.style.display = 'none');
const hide = els => els.forEach(e => (e.style.display = 'none'));
module.exports = hide;

File diff suppressed because it is too large Load Diff