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
// #region [ function helpers ] | |
const ucFirst = (text) => { | |
if (!text) return text; | |
return `${text[0].toUpperCase()}${text.substring(1)}` | |
}; | |
const getAttributeUpdatedMethodName = (name) => `attributeChanged${ucFirst(name)}`; | |
// #endregion |

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
// Link colors | |
// Sets the links color to $text-gray and $text-blue on hover | |
.link-gray { | |
color: $text-gray !important; | |
&:hover, &:hover [class*='text-'] { | |
color: $text-blue !important; | |
} | |
} |
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
/* Example tokeninput style #2: Facebook style */ | |
ul.token-input-list-facebook { | |
overflow: hidden; | |
height: auto !important; | |
height: 1%; | |
width: 400px; | |
border: 1px solid #8496ba; | |
cursor: text; | |
font-size: 12px; | |
font-family: Verdana; |
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
var emailPattern = /^([a-zA-Z0-9])+([\.\+a-zA-Z0-9_-])*@([\+a-zA-Z0-9_-])+(\.[a-zA-Z0-9_-]+)+$/; | |
// emailPattern.test(var) returns a boolean value |