docbrown/app
Yash Dave 49fbf280c3 Refactor initializeArticleReactions.js (#4303)
* Refactor initializeArticleReactions.js
- Refactors file according to eslint rules
- Add showModal and sendHapticMessage to globals
  in eslintrc.js
- Shorten initializeArticleReactions() by distributing
  parts of it into jumpToComments() and requestReactionCounts()
- requestReactionCounts() makes an ajax request to get the
  reaction counts
- jumpToComments() jumps to comments element directly if the
  element jump-to-comments is present

* Fix reactionOnClick function to work correctly
- Move sendHapticMessage and showModal global declaration to file
- name function on reaction button on click as addReactionOnClick
  which then calls reactToArticle()
2019-10-08 08:41:43 -04:00
..
assets Refactor initializeArticleReactions.js (#4303) 2019-10-08 08:41:43 -04:00
black_box Add more variation to home feed (#4069) 2019-09-19 12:58:11 -07:00
controllers Comment Social Preview (#4260) 2019-10-07 10:03:03 -04:00
dashboards Pro: memberships (#3461) 2019-09-24 10:38:54 -07:00
decorators Add initial functionality for Stackbit on integrations settings tab (#4113) 2019-09-26 07:29:28 -04:00
errors Pro: memberships (#3461) 2019-09-24 10:38:54 -07:00
fields
helpers Comment Social Preview (#4260) 2019-10-07 10:03:03 -04:00
javascript [SPEC] Add tests for sidebarUser component (#4301) [ci skip] 2019-10-07 16:01:59 -04:00
jobs Move user.follow delay calls to ActiveJob (#3136) (#4203) 2019-10-03 11:22:00 -04:00
labor Bust non-article comment cache without issues (#4275) 2019-10-07 09:42:54 -04:00
lib Fix links without http(s) (#4155) [ci skip] 2019-10-07 09:52:07 -04:00
liquid_tags Add Asciinema Liquid tag (#4152) 2019-10-02 11:39:19 -04:00
mailers Pro: memberships (#3461) 2019-09-24 10:38:54 -07:00
models Prepend before_destroy(s) in models with destroy dependents (#4191) 2019-10-02 11:25:24 -04:00
observers Add comment markdown to warned_user_ping (#3750) 2019-08-22 22:04:45 -04:00
policies Pro: memberships (#3461) 2019-09-24 10:38:54 -07:00
sanitizers
serializers/webhook Use a sortable unique ID for the event_id (#3972) 2019-09-09 10:15:12 -04:00
services Rescue SocketError when trying to fetch a podcast (#4274) [ci skip] 2019-10-07 10:26:22 -04:00
uploaders Set max file size limit for profile images (#3313) 2019-06-28 12:06:25 -04:00
view_objects Dispatch events to the webhook endpoints #3715 (#3872) 2019-09-07 13:17:45 -04:00
views Comment Social Preview (#4260) 2019-10-07 10:03:03 -04:00