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
import LogmaticJs from 'logmatic-js'; | |
const track = function (verb) { | |
// Event fields | |
const _verb = verb; | |
let _object = null; | |
let _target = null; | |
let _start = null; |
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
ngModelCtrl.$validators = { | |
regex : (modelValue, viewValue) => { | |
if(valid) return true; | |
return false; | |
}, | |
anyOtherValidation : ... | |
} | |
ngModelCtrl.$validators.yetAnotehrValidation = ... |