|
|
|
@ -3,6 +3,7 @@ import BootstrapVue from 'bootstrap-vue'
|
|
|
|
|
import InfiniteLoading from 'vue-infinite-loading';
|
|
|
|
|
import Loading from 'vue-loading-overlay';
|
|
|
|
|
import VueTimeago from 'vue-timeago';
|
|
|
|
|
import VueTouch from 'vue-touch';
|
|
|
|
|
//import {Howl, Howler} from 'howler';
|
|
|
|
|
|
|
|
|
|
Vue.use(BootstrapVue);
|
|
|
|
@ -10,6 +11,13 @@ Vue.use(InfiniteLoading);
|
|
|
|
|
Vue.use(Loading);
|
|
|
|
|
Vue.use(VueTimeago);
|
|
|
|
|
|
|
|
|
|
Vue.use(VueTouch, { name: 'v-touch' })
|
|
|
|
|
VueTouch.registerCustomEvent('doubletap', {
|
|
|
|
|
type: 'tap',
|
|
|
|
|
taps: 2
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pixelfed.readmore = () => {
|
|
|
|
|
$('.read-more').each(function(k,v) {
|
|
|
|
|
let el = $(this);
|
|
|
|
|