Update js assets

This commit is contained in:
Daniel Supernault 2019-03-31 23:23:19 -06:00
parent 2e0da45537
commit da76dce0b1
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7
4 changed files with 132 additions and 45 deletions

View file

@ -33,14 +33,14 @@ try {
}
window.filesize = require('filesize');
window.Plyr = require('plyr');
// window.Plyr = require('plyr');
import swal from 'sweetalert';
require('./components/localstorage');
require('./components/commentform');
// require('./components/localstorage');
// require('./components/commentform');
require('./components/searchform');
require('./components/bookmarkform');
require('./components/statusform');
// require('./components/bookmarkform');
// require('./components/statusform');
//require('./components/embed');
//require('./components/notifications');
@ -63,51 +63,53 @@ require('./components/statusform');
// Initialize Notification Helper
window.pixelfed.n = {};
Vue.component(
'photo-presenter',
require('./components/presenter/PhotoPresenter.vue').default
);
// Vue.component(
// 'photo-presenter',
// require('./components/presenter/PhotoPresenter.vue').default
// );
Vue.component(
'video-presenter',
require('./components/presenter/VideoPresenter.vue').default
);
// Vue.component(
// 'video-presenter',
// require('./components/presenter/VideoPresenter.vue').default
// );
Vue.component(
'photo-album-presenter',
require('./components/presenter/PhotoAlbumPresenter.vue').default
);
// Vue.component(
// 'photo-album-presenter',
// require('./components/presenter/PhotoAlbumPresenter.vue').default
// );
Vue.component(
'video-album-presenter',
require('./components/presenter/VideoAlbumPresenter.vue').default
);
// Vue.component(
// 'video-album-presenter',
// require('./components/presenter/VideoAlbumPresenter.vue').default
// );
Vue.component(
'mixed-album-presenter',
require('./components/presenter/MixedAlbumPresenter.vue').default
);
// Vue.component(
// 'mixed-album-presenter',
// require('./components/presenter/MixedAlbumPresenter.vue').default
// );
Vue.component(
'post-menu',
require('./components/PostMenu.vue').default
);
// Vue.component(
// 'post-menu',
// require('./components/PostMenu.vue').default
// );
Vue.component(
'passport-clients',
require('./components/passport/Clients.vue').default
);
// Vue.component(
// 'passport-clients',
// require('./components/passport/Clients.vue').default
// );
// Vue.component(
// 'passport-authorized-clients',
// require('./components/passport/AuthorizedClients.vue').default
// );
// Vue.component(
// 'passport-personal-access-tokens',
// require('./components/passport/PersonalAccessTokens.vue').default
// );
Vue.component(
'passport-authorized-clients',
require('./components/passport/AuthorizedClients.vue').default
);
Vue.component(
'passport-personal-access-tokens',
require('./components/passport/PersonalAccessTokens.vue').default
);
// Vue.component(
// 'follow-suggestions',

View file

@ -1,3 +1,33 @@
Vue.component(
'photo-presenter',
require('./components/presenter/PhotoPresenter.vue').default
);
Vue.component(
'video-presenter',
require('./components/presenter/VideoPresenter.vue').default
);
Vue.component(
'photo-album-presenter',
require('./components/presenter/PhotoAlbumPresenter.vue').default
);
Vue.component(
'video-album-presenter',
require('./components/presenter/VideoAlbumPresenter.vue').default
);
Vue.component(
'mixed-album-presenter',
require('./components/presenter/MixedAlbumPresenter.vue').default
);
Vue.component(
'post-menu',
require('./components/PostMenu.vue').default
);
Vue.component(
'profile',
require('./components/Profile.vue').default

View file

@ -1,9 +1,34 @@
Vue.component(
'post-component',
require('./components/PostComponent.vue').default
'photo-presenter',
require('./components/presenter/PhotoPresenter.vue').default
);
Vue.component(
'post-comments',
require('./components/PostComments.vue').default
'video-presenter',
require('./components/presenter/VideoPresenter.vue').default
);
Vue.component(
'photo-album-presenter',
require('./components/presenter/PhotoAlbumPresenter.vue').default
);
Vue.component(
'video-album-presenter',
require('./components/presenter/VideoAlbumPresenter.vue').default
);
Vue.component(
'mixed-album-presenter',
require('./components/presenter/MixedAlbumPresenter.vue').default
);
Vue.component(
'post-menu',
require('./components/PostMenu.vue').default
);
Vue.component(
'post-component',
require('./components/PostComponent.vue').default
);

View file

@ -1,3 +1,33 @@
Vue.component(
'photo-presenter',
require('./components/presenter/PhotoPresenter.vue').default
);
Vue.component(
'video-presenter',
require('./components/presenter/VideoPresenter.vue').default
);
Vue.component(
'photo-album-presenter',
require('./components/presenter/PhotoAlbumPresenter.vue').default
);
Vue.component(
'video-album-presenter',
require('./components/presenter/VideoAlbumPresenter.vue').default
);
Vue.component(
'mixed-album-presenter',
require('./components/presenter/MixedAlbumPresenter.vue').default
);
Vue.component(
'post-menu',
require('./components/PostMenu.vue').default
);
Vue.component(
'timeline',
require('./components/Timeline.vue').default