This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Attempt for Chrome-style progress-indicator with SVG and CSS animations | |
*/ | |
@keyframes spin { | |
0% { | |
stroke: #00aeef | |
} | |
37.5% { | |
stroke: #ed1c24; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function test () { | |
const split = ["man", "man"]; | |
const pathRegex = new RegExp(/^[A-ZÀ-Ýa-zà-ý0-9_]+[^.#$?\[\]]$/g); | |
console.log(split) | |
split.forEach((word: string, key) => { | |
console.log(key) | |
if (pathRegex.test(word)) { | |
console.info('Word:', word) | |
tags.push(word) | |
} else { |