Skip to content

Instantly share code, notes, and snippets.

Gavin Lynch gavinlynch

Block or report user

Report or block gavinlynch

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View simple validator
* Vue Plugin instance for Validation.
* Use as:
* import Validation from './plugins/validation.js';
* Vue.use(Validation, options);
* Validation.add({
* customValidation: {
* message: 'Message when invalid.',
* comparison: (newer, older) => older === newer,
* validate: function (value) {
You can’t perform that action at this time.