added prettier

This commit is contained in:
Čarodej
2022-02-01 12:21:38 +01:00
parent 5ae875233b
commit b38b532cbe
284 changed files with 25410 additions and 25338 deletions

View File

@@ -1,19 +1,17 @@
import store from '../store/index'
const ValidatorHelpers = {
install(Vue) {
install(Vue) {
Vue.prototype.$generatePaystackReference = function () {
let text = ''
Vue.prototype.$generatePaystackReference = function () {
let text = "";
let possible = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'
let possible = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
for (let i = 0; i < 10; i++) text += possible.charAt(Math.floor(Math.random() * possible.length))
for (let i = 0; i < 10; i++)
text += possible.charAt(Math.floor(Math.random() * possible.length));
return text;
}
}
return text
}
},
}
export default ValidatorHelpers
export default ValidatorHelpers