* 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() |
||
|---|---|---|
| .. | ||
| initializers | ||
| lib | ||
| utilities | ||
| .eslintrc.js | ||
| application.js | ||
| base.js.erb | ||
| hello-dev.js | ||
| initializePage.js.erb | ||
| internal.js | ||
| jquery_s3_upload.js | ||
| manifest.json.erb | ||
| serviceworker-companion.js | ||
| serviceworker.js.erb | ||