From 7b172795eaa03944d8877992af3f2e8f45cc2750 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Mon, 3 Jun 2019 19:48:52 -0600 Subject: [PATCH 1/2] Update LoopComponent --- .../assets/js/components/LoopComponent.vue | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/resources/assets/js/components/LoopComponent.vue b/resources/assets/js/components/LoopComponent.vue index 80e3dcb12..98d964e0f 100644 --- a/resources/assets/js/components/LoopComponent.vue +++ b/resources/assets/js/components/LoopComponent.vue @@ -12,15 +12,15 @@
- +
-

{{loop.account.acct}} , {{timestamp(loop)}}

-

+

{{loop.account.acct}} {{timestamp(loop)}}

+

{{loop.favourites_count}} Likes {{loop.reblogs_count}} Shares - 0 Loops + {{loop.reply_count}} Comments
@@ -90,17 +90,17 @@ export default { }); if(!el.playing) { el.play(); - this.incrementLoop(loop); + //this.incrementLoop(loop); } else { el.pause(); } }, incrementLoop(loop) { - axios.post('/api/v2/loops/watch', { - id: loop.id - }).then(res => { - console.log(res.data); - }); + // axios.post('/api/v2/loops/watch', { + // id: loop.id + // }).then(res => { + // console.log(res.data); + // }); }, timestamp(loop) { let ts = new Date(loop.created_at); From 21cbcb21d9e6ec756faa7baca1e0bea7dd601f12 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Mon, 3 Jun 2019 19:50:19 -0600 Subject: [PATCH 2/2] Update compiled assets --- public/js/loops.js | Bin 10855 -> 10867 bytes public/mix-manifest.json | Bin 905 -> 905 bytes 2 files changed, 0 insertions(+), 0 deletions(-) diff --git a/public/js/loops.js b/public/js/loops.js index e244ea5e2dae3dab7ef4fc3fde7c836b36c804d9..76a8dc9c23f2b1825b3e42ac9d24b3cdf0fe6cfa 100644 GIT binary patch delta 162 zcmaDJ@;PL~djd%QI6-GOUyg4GdJ3bTU#i(=$pSyvcJ_ z=dvi|q$W=GQCFC3rRFm^TA6F|B()?yg_6{Y65W!b(!AuvlGMpx)KnzwQ}vSb^GZ_l zfSN<|N-|4wQd5*PYilRpQB|63tA0?nL@&NrBUP^`wIHW5J~_WMuS8Q@Nx?ZkHy5a9 JGpj}t69C3)H}e1h delta 191 zcmewy@;qe2dxd(9JiUUP#7YfKosx{qV!h0~3ro9TXv}w9>rf zlFa-(pj>rgMP`1nUO|3wiH4GXVnL>UnUQ`DP+zfrd16U&hLTQoW{OpbUS>+Ird~-# zYMutN=H&dm;`|)`RK1-1bd3_dl*E!m&05XP!iq{PlLJ&|Pv%$iVbqx%rItJSs+!7V TKJ{npN(KrbS8W#5NMZs29BM>> diff --git a/public/mix-manifest.json b/public/mix-manifest.json index 3a99dcd6cc764cc252cb4d572abe2993800ced72..088f452d59457b9bf8cfd3681607e8c4f7bc5626 100644 GIT binary patch delta 32 ncmeBV?_}Rl!X#{-YG!6)k!EUWWMXDuU~X)hXt=qZiHQ*ajiU$# delta 32 ncmeBV?_}Rl!X%t(Y-DbhnrdQ_YM5f0Xk?yZkhHm-iHQ*anRf{B