Travis build: 911 [cron]

This commit is contained in:
30secondsofcode
2018-12-17 14:36:02 +00:00
parent b933d486c6
commit e89d5fab14
9 changed files with 1996 additions and 1942 deletions

View File

@ -490,6 +490,21 @@
"hash": "0f631b67b8460ed99917ff1468051e1e075ef02b280838ec14ad3fede2f48c7f"
}
},
{
"id": "compactWhitespace",
"type": "snippetListing",
"attributes": {
"tags": [
"string",
"regexp",
"beginner"
],
"archived": false
},
"meta": {
"hash": "c1e8ff69ac01f5be0595f6adf8b0df11dd8b8e557beb71f5faefb7a119282780"
}
},
{
"id": "compose",
"type": "snippetListing",
@ -3348,7 +3363,7 @@
"archived": false
},
"meta": {
"hash": "0b04f5fe668888db0dc360535cd999669258019f0682eb6e4ad3a1164e408d13"
"hash": "4815876fd6dbb17ad34c0d8918e7a72d837104f9beee7dc51b0fa73057b9e83e"
}
},
{
@ -3720,7 +3735,7 @@
"archived": false
},
"meta": {
"hash": "536833a64ce0c000b82327ed1bb9bcb82e35b237f75aefcca0e0d2def4e9cb63"
"hash": "ec9cb9384817f84cf0bacd62a23b69b2304fa2cf0352b16d3950b21d48c04f11"
}
},
{

View File

@ -721,6 +721,28 @@
"hash": "0f631b67b8460ed99917ff1468051e1e075ef02b280838ec14ad3fede2f48c7f"
}
},
{
"id": "compactWhitespace",
"type": "snippet",
"attributes": {
"fileName": "compactWhitespace.md",
"text": "Returns a string with whitespaces compacted.\n\nUse `String.prototype.replace()` with a regular expression to replace all occurences of 2 or more whitespace characters with a single space.",
"codeBlocks": {
"es6": "const compactWhitespace = str => str.replace(/\\s{2,}/g, ' ');",
"es5": "var compactWhitespace = function compactWhitespace(str) {\n return str.replace(/\\s{2,}/g, ' ');\n};",
"example": "compactWhitespace('Lorem Ipsum'); // 'Lorem Ipsum'\ncompactWhitespace('Lorem \\n Ipsum'); // 'Lorem Ipsum'"
},
"tags": [
"string",
"regexp",
"beginner"
]
},
"meta": {
"archived": false,
"hash": "c1e8ff69ac01f5be0595f6adf8b0df11dd8b8e557beb71f5faefb7a119282780"
}
},
{
"id": "compose",
"type": "snippet",
@ -4930,7 +4952,7 @@
},
"meta": {
"archived": false,
"hash": "0b04f5fe668888db0dc360535cd999669258019f0682eb6e4ad3a1164e408d13"
"hash": "4815876fd6dbb17ad34c0d8918e7a72d837104f9beee7dc51b0fa73057b9e83e"
}
},
{
@ -5477,7 +5499,7 @@
},
"meta": {
"archived": false,
"hash": "536833a64ce0c000b82327ed1bb9bcb82e35b237f75aefcca0e0d2def4e9cb63"
"hash": "ec9cb9384817f84cf0bacd62a23b69b2304fa2cf0352b16d3950b21d48c04f11"
}
},
{