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.filesize = require('filesize');
window.Plyr = require('plyr'); // window.Plyr = require('plyr');
import swal from 'sweetalert'; import swal from 'sweetalert';
require('./components/localstorage'); // require('./components/localstorage');
require('./components/commentform'); // require('./components/commentform');
require('./components/searchform'); require('./components/searchform');
require('./components/bookmarkform'); // require('./components/bookmarkform');
require('./components/statusform'); // require('./components/statusform');
//require('./components/embed'); //require('./components/embed');
//require('./components/notifications'); //require('./components/notifications');
@ -63,51 +63,53 @@ require('./components/statusform');
// Initialize Notification Helper // Initialize Notification Helper
window.pixelfed.n = {}; window.pixelfed.n = {};
Vue.component( // Vue.component(
'photo-presenter', // 'photo-presenter',
require('./components/presenter/PhotoPresenter.vue').default // require('./components/presenter/PhotoPresenter.vue').default
); // );
Vue.component( // Vue.component(
'video-presenter', // 'video-presenter',
require('./components/presenter/VideoPresenter.vue').default // require('./components/presenter/VideoPresenter.vue').default
); // );
Vue.component( // Vue.component(
'photo-album-presenter', // 'photo-album-presenter',
require('./components/presenter/PhotoAlbumPresenter.vue').default // require('./components/presenter/PhotoAlbumPresenter.vue').default
); // );
Vue.component( // Vue.component(
'video-album-presenter', // 'video-album-presenter',
require('./components/presenter/VideoAlbumPresenter.vue').default // require('./components/presenter/VideoAlbumPresenter.vue').default
); // );
Vue.component( // Vue.component(
'mixed-album-presenter', // 'mixed-album-presenter',
require('./components/presenter/MixedAlbumPresenter.vue').default // require('./components/presenter/MixedAlbumPresenter.vue').default
); // );
Vue.component( // Vue.component(
'post-menu', // 'post-menu',
require('./components/PostMenu.vue').default // require('./components/PostMenu.vue').default
); // );
Vue.component( // Vue.component(
'passport-clients', // 'passport-clients',
require('./components/passport/Clients.vue').default // 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( // Vue.component(
// 'follow-suggestions', // '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( Vue.component(
'profile', 'profile',
require('./components/Profile.vue').default require('./components/Profile.vue').default

View file

@ -1,9 +1,34 @@
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( Vue.component(
'post-component', 'post-component',
require('./components/PostComponent.vue').default require('./components/PostComponent.vue').default
); );
Vue.component(
'post-comments',
require('./components/PostComments.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( Vue.component(
'timeline', 'timeline',
require('./components/Timeline.vue').default require('./components/Timeline.vue').default