mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-29 17:53:16 +00:00
Update js assets
This commit is contained in:
parent
2e0da45537
commit
da76dce0b1
4 changed files with 132 additions and 45 deletions
84
resources/assets/js/components.js
vendored
84
resources/assets/js/components.js
vendored
|
@ -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',
|
||||||
|
|
30
resources/assets/js/profile.js
vendored
30
resources/assets/js/profile.js
vendored
|
@ -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
|
||||||
|
|
35
resources/assets/js/status.js
vendored
35
resources/assets/js/status.js
vendored
|
@ -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
|
|
||||||
);
|
|
30
resources/assets/js/timeline.js
vendored
30
resources/assets/js/timeline.js
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue