Travis build: 770 [custom]

This commit is contained in:
30secondsofcode
2018-11-10 12:26:33 +00:00
parent cf9af90438
commit 0c9dc1c1d6
8 changed files with 4802 additions and 4757 deletions

View File

@ -1123,7 +1123,7 @@
"hide": {
"prefix": "30s_hide",
"body": [
"const hide = els => els.forEach(e => (e.style.display = 'none'));"
"const hide = (...el) => [...el].forEach(e => (e.style.display = 'none'));"
],
"description": "Hides all the elements specified.\n\nUse `NodeList.prototype.forEach()` to apply `display: none` to each element specified"
},