Skip to content

Commit

Permalink
JavaScript cleanup and dependency updates (gitcoinco#1107)
Browse files Browse the repository at this point in the history
Description

Delete unused JavaScript files and remove unused dependencies.

Why should this be added

This reduces the uncompressed js and css packs by 400K and 20K respectively. It will also improve maintainability since removing unused code eliminates cognitive overhead.
  • Loading branch information
hopsoft authored Feb 27, 2020
1 parent 5266aad commit 859bbc0
Show file tree
Hide file tree
Showing 37 changed files with 270 additions and 1,311 deletions.
7 changes: 0 additions & 7 deletions app/javascript/controllers/copy_to_clipboard_controller.js

This file was deleted.

7 changes: 0 additions & 7 deletions app/javascript/controllers/cube_folio_controller.js

This file was deleted.

76 changes: 0 additions & 76 deletions app/javascript/controllers/dashboard_date_range_controller.js

This file was deleted.

30 changes: 0 additions & 30 deletions app/javascript/controllers/easy_pie_chart_controller.js

This file was deleted.

37 changes: 0 additions & 37 deletions app/javascript/controllers/event_track_controller.js

This file was deleted.

14 changes: 0 additions & 14 deletions app/javascript/controllers/fallback_image_controller.js

This file was deleted.

57 changes: 0 additions & 57 deletions app/javascript/controllers/file_picker_controller.js

This file was deleted.

7 changes: 0 additions & 7 deletions app/javascript/controllers/go_to_controller.js

This file was deleted.

30 changes: 0 additions & 30 deletions app/javascript/controllers/inline_toggle_controller.js

This file was deleted.

25 changes: 0 additions & 25 deletions app/javascript/controllers/job_listing_keyword_controller.js

This file was deleted.

This file was deleted.

Loading

0 comments on commit 859bbc0

Please sign in to comment.