1Vue.component('nomad-simple-validation', { 2 // Validations: required, min length, max length, regex (i.e. numeric) 3 props: { 4 isValid: Boolean, 5 errorMessage: String 6 }, 7 data: function () { 8 return { 9 }; 10 }, 11 computed: { 12 spanClass: function () { 13 return this.isValid ? 'field-validation-valid' : 'field-validation-error'; 14 } 15 }, 16 methods: { 17 }, 18 template: `<span v-if='!isValid' class="help-inline" :class="spanClass"> 19 <span>{{ errorMessage }}</span> 20 </span>` 21});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.