Update compiled assets

This commit is contained in:
Daniel Supernault 2019-01-05 00:10:15 -07:00
parent e4b0bdcc27
commit ea0bd22df8
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7
6 changed files with 50 additions and 43 deletions

BIN
public/css/app.css vendored

Binary file not shown.

BIN
public/js/activity.js vendored

Binary file not shown.

BIN
public/js/app.js vendored

Binary file not shown.

Binary file not shown.

BIN
public/js/timeline.js vendored

Binary file not shown.

View file

@ -3,6 +3,7 @@ import BootstrapVue from 'bootstrap-vue'
import InfiniteLoading from 'vue-infinite-loading'; import InfiniteLoading from 'vue-infinite-loading';
import Loading from 'vue-loading-overlay'; import Loading from 'vue-loading-overlay';
import VueTimeago from 'vue-timeago'; import VueTimeago from 'vue-timeago';
//import {Howl, Howler} from 'howler';
Vue.use(BootstrapVue); Vue.use(BootstrapVue);
Vue.use(InfiniteLoading); Vue.use(InfiniteLoading);
@ -29,7 +30,6 @@ try {
document.createEvent("TouchEvent"); document.createEvent("TouchEvent");
$('body').addClass('touch'); $('body').addClass('touch');
} catch (e) { } catch (e) {
return false;
} }
window.InfiniteScroll = require('infinite-scroll'); window.InfiniteScroll = require('infinite-scroll');
@ -67,44 +67,49 @@ window.pixelfed.n = {};
Vue.component( Vue.component(
'photo-presenter', 'photo-presenter',
require('./components/presenter/PhotoPresenter.vue') require('./components/presenter/PhotoPresenter.vue').default
); );
Vue.component( Vue.component(
'video-presenter', 'video-presenter',
require('./components/presenter/VideoPresenter.vue') require('./components/presenter/VideoPresenter.vue').default
); );
Vue.component( Vue.component(
'photo-album-presenter', 'photo-album-presenter',
require('./components/presenter/PhotoAlbumPresenter.vue') require('./components/presenter/PhotoAlbumPresenter.vue').default
); );
Vue.component( Vue.component(
'video-album-presenter', 'video-album-presenter',
require('./components/presenter/VideoAlbumPresenter.vue') require('./components/presenter/VideoAlbumPresenter.vue').default
); );
Vue.component( Vue.component(
'mixed-album-presenter', 'mixed-album-presenter',
require('./components/presenter/MixedAlbumPresenter.vue') require('./components/presenter/MixedAlbumPresenter.vue').default
); );
// Vue.component( // Vue.component(
// 'micro', // 'micro',
// require('./components/Micro.vue') // require('./components/Micro.vue').default
// ); // );
Vue.component( Vue.component(
'follow-suggestions', 'follow-suggestions',
require('./components/FollowSuggestions.vue') require('./components/FollowSuggestions.vue').default
); );
Vue.component( Vue.component(
'discover-component', 'discover-component',
require('./components/DiscoverComponent.vue') require('./components/DiscoverComponent.vue').default
); );
// Vue.component(
// 'profile',
// require('./components/Profile.vue').default
// );
// Vue.component( // Vue.component(
// 'circle-panel', // 'circle-panel',
// require('./components/CirclePanel.vue') // require('./components/CirclePanel.vue')
@ -112,53 +117,55 @@ Vue.component(
Vue.component( Vue.component(
'post-component', 'post-component',
require('./components/PostComponent.vue') require('./components/PostComponent.vue').default
); );
Vue.component( Vue.component(
'post-comments', 'post-comments',
require('./components/PostComments.vue') require('./components/PostComments.vue').default
); );
Vue.component( Vue.component(
'timeline', 'timeline',
require('./components/Timeline.vue') require('./components/Timeline.vue').default
); );
Vue.component( // Vue.component(
'passport-clients', // 'passport-clients',
require('./components/passport/Clients.vue') // require('./components/passport/Clients.vue').default
); // );
Vue.component( // Vue.component(
'passport-authorized-clients', // 'passport-authorized-clients',
require('./components/passport/AuthorizedClients.vue') // require('./components/passport/AuthorizedClients.vue').default
); // );
Vue.component( // Vue.component(
'passport-personal-access-tokens', // 'passport-personal-access-tokens',
require('./components/passport/PersonalAccessTokens.vue') // require('./components/passport/PersonalAccessTokens.vue').default
); // );
window.pixelfed.copyToClipboard = (str) => { //import 'promise-polyfill/src/polyfill';
const el = document.createElement('textarea');
el.value = str; // window.pixelfed.copyToClipboard = (str) => {
el.setAttribute('readonly', ''); // const el = document.createElement('textarea');
el.style.position = 'absolute'; // el.value = str;
el.style.left = '-9999px'; // el.setAttribute('readonly', '');
document.body.appendChild(el); // el.style.position = 'absolute';
const selected = // el.style.left = '-9999px';
document.getSelection().rangeCount > 0 // document.body.appendChild(el);
? document.getSelection().getRangeAt(0) // const selected =
: false; // document.getSelection().rangeCount > 0
el.select(); // ? document.getSelection().getRangeAt(0)
document.execCommand('copy'); // : false;
document.body.removeChild(el); // el.select();
if (selected) { // document.execCommand('copy');
document.getSelection().removeAllRanges(); // document.body.removeChild(el);
document.getSelection().addRange(selected); // if (selected) {
} // document.getSelection().removeAllRanges();
}; // document.getSelection().addRange(selected);
// }
// };
$(document).ready(function() { $(document).ready(function() {
$(function () { $(function () {