mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 16:22:14 +00:00
added prettier
This commit is contained in:
20
resources/js/helpers/SubscriptionHelpers.js
vendored
20
resources/js/helpers/SubscriptionHelpers.js
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user