summaryrefslogtreecommitdiff
path: root/priv/static/packs/flavours/glitch/async/following.js
diff options
context:
space:
mode:
Diffstat (limited to 'priv/static/packs/flavours/glitch/async/following.js')
-rw-r--r--priv/static/packs/flavours/glitch/async/following.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/priv/static/packs/flavours/glitch/async/following.js b/priv/static/packs/flavours/glitch/async/following.js
index 98589dd95..60f78c45c 100644
--- a/priv/static/packs/flavours/glitch/async/following.js
+++ b/priv/static/packs/flavours/glitch/async/following.js
@@ -1,2 +1,2 @@
-(window.webpackJsonp=window.webpackJsonp||[]).push([[65],{771:function(t,a,c){"use strict";c.r(a),c.d(a,"default",(function(){return A}));var o,e,n,s=c(0),r=c(2),i=c(7),p=c(1),u=c(62),l=c.n(u),d=c(3),h=c.n(d),b=c(13),m=c(5),f=c.n(m),j=c(14),O=c.n(j),I=c(299),w=c(22),g=c(6),M=c(466),v=c(730),y=c(1052),C=c(1056),T=c(18),k=c(1029),R=c(1022),A=Object(b.connect)((function(t,a){return{isAccount:!!t.getIn(["accounts",a.params.accountId]),accountIds:t.getIn(["user_lists","following",a.params.accountId,"items"]),hasMore:!!t.getIn(["user_lists","following",a.params.accountId,"next"])}}))((n=e=function(t){function a(){for(var a,c=arguments.length,o=new Array(c),e=0;e<c;e++)o[e]=arguments[e];return a=t.call.apply(t,[this].concat(o))||this,Object(p.a)(Object(r.a)(a),"handleHeaderClick",(function(){a.column.scrollTop()})),Object(p.a)(Object(r.a)(a),"handleScroll",(function(t){var c=t.target;c.scrollTop===c.scrollHeight-c.clientHeight&&a.props.hasMore&&a.props.dispatch(Object(w.E)(a.props.params.accountId))})),Object(p.a)(Object(r.a)(a),"handleLoadMore",l()((function(){a.props.dispatch(Object(w.E)(a.props.params.accountId))}),300,{leading:!0})),Object(p.a)(Object(r.a)(a),"setRef",(function(t){a.column=t})),a}Object(i.a)(a,t);var c=a.prototype;return c.componentWillMount=function(){this.props.accountIds||(this.props.dispatch(Object(w.F)(this.props.params.accountId)),this.props.dispatch(Object(w.I)(this.props.params.accountId)))},c.componentWillReceiveProps=function(t){t.params.accountId!==this.props.params.accountId&&t.params.accountId&&(this.props.dispatch(Object(w.F)(t.params.accountId)),this.props.dispatch(Object(w.I)(t.params.accountId)))},c.render=function(){var t=this.props,a=t.accountIds,c=t.hasMore,o=t.isAccount,e=t.multiColumn;if(!o)return Object(s.a)(v.a,{},void 0,Object(s.a)(k.a,{}));if(!a)return Object(s.a)(v.a,{},void 0,Object(s.a)(I.a,{}));var n=Object(s.a)(g.b,{id:"account.follows.empty",defaultMessage:"This user doesn't follow anyone yet."});return h.a.createElement(v.a,{ref:this.setRef},Object(s.a)(y.a,{onClick:this.handleHeaderClick,multiColumn:e}),Object(s.a)(R.a,{scrollKey:"following",hasMore:c,onLoadMore:this.handleLoadMore,prepend:Object(s.a)(C.a,{accountId:this.props.params.accountId,hideTabs:!0}),alwaysPrepend:!0,emptyMessage:n,bindToDocument:!e},void 0,a.map((function(t){return Object(s.a)(M.a,{id:t,withNote:!1},t)}))))},a}(T.a),Object(p.a)(e,"propTypes",{params:f.a.object.isRequired,dispatch:f.a.func.isRequired,accountIds:O.a.list,hasMore:f.a.bool,isAccount:f.a.bool,multiColumn:f.a.bool}),o=n))||o}}]);
+(window.webpackJsonp=window.webpackJsonp||[]).push([[65],{797:function(a,t,c){"use strict";c.r(t),c.d(t,"default",(function(){return A}));var o,e,n,s=c(0),r=c(2),i=(c(9),c(6),c(8)),p=c(1),u=c(65),l=c.n(u),d=c(3),h=c.n(d),b=c(15),m=c(5),f=c.n(m),j=c(16),O=c.n(j),I=c(305),w=c(24),g=c(7),v=c(471),M=c(756),y=c(1079),C=c(1083),T=c(21),k=c(1056),R=c(1048);var A=Object(b.connect)((function(a,t){return{isAccount:!!a.getIn(["accounts",t.params.accountId]),accountIds:a.getIn(["user_lists","following",t.params.accountId,"items"]),hasMore:!!a.getIn(["user_lists","following",t.params.accountId,"next"])}}))((n=e=function(a){Object(i.a)(c,a);var t;t=c;function c(){for(var t,c=arguments.length,o=new Array(c),e=0;e<c;e++)o[e]=arguments[e];return t=a.call.apply(a,[this].concat(o))||this,Object(p.a)(Object(r.a)(t),"handleHeaderClick",(function(){t.column.scrollTop()})),Object(p.a)(Object(r.a)(t),"handleScroll",(function(a){var c=a.target;c.scrollTop===c.scrollHeight-c.clientHeight&&t.props.hasMore&&t.props.dispatch(Object(w.E)(t.props.params.accountId))})),Object(p.a)(Object(r.a)(t),"handleLoadMore",l()((function(){t.props.dispatch(Object(w.E)(t.props.params.accountId))}),300,{leading:!0})),Object(p.a)(Object(r.a)(t),"setRef",(function(a){t.column=a})),t}var o=c.prototype;return o.componentWillMount=function(){this.props.accountIds||(this.props.dispatch(Object(w.F)(this.props.params.accountId)),this.props.dispatch(Object(w.I)(this.props.params.accountId)))},o.componentWillReceiveProps=function(a){a.params.accountId!==this.props.params.accountId&&a.params.accountId&&(this.props.dispatch(Object(w.F)(a.params.accountId)),this.props.dispatch(Object(w.I)(a.params.accountId)))},o.render=function(){var a=this.props,t=a.accountIds,c=a.hasMore,o=a.isAccount,e=a.multiColumn;if(!o)return Object(s.a)(M.a,{},void 0,Object(s.a)(k.a,{}));if(!t)return Object(s.a)(M.a,{},void 0,Object(s.a)(I.a,{}));var n=Object(s.a)(g.b,{id:"account.follows.empty",defaultMessage:"This user doesn't follow anyone yet."});return(h.a.createElement(M.a,{ref:this.setRef},Object(s.a)(y.a,{onClick:this.handleHeaderClick,multiColumn:e}),Object(s.a)(R.a,{scrollKey:"following",hasMore:c,onLoadMore:this.handleLoadMore,prepend:Object(s.a)(C.a,{accountId:this.props.params.accountId,hideTabs:!0}),alwaysPrepend:!0,emptyMessage:n,bindToDocument:!e},void 0,t.map((function(a){return Object(s.a)(v.a,{id:a,withNote:!1},a)})))))},c}(T.a),Object(p.a)(e,"propTypes",{params:f.a.object.isRequired,dispatch:f.a.func.isRequired,accountIds:O.a.list,hasMore:f.a.bool,isAccount:f.a.bool,multiColumn:f.a.bool}),o=n))||o}}]);
//# sourceMappingURL=following.js.map \ No newline at end of file