Closed
Description
In reviewing the JS used across the system, I want to make sure we absolutely need everything that is getting included. I've summarized below, as best I can tell from the comments inline, what is in the files and the total file size. With the exception of head-scripts.js
all the other files get compressed down to scripts.js
.
Given all the details below, I'm interested in removing, or separating the following:
- Moment What is this doing for ALPS? What function does it provide?
- Modaal Are we using any modal dialog boxes in the system? I know we used them in V2, but I'm not aware of anything in V3 that would warrant keeping an extra 38kb around.
@kelscahill or @davideleuterius: Can you speak to these questions?
head-scripts.js
18KB
modaal.js
38KB
Modaal - accessible modals - v0.2.11
Website
Plugins
107KB
- Fixto 0.5.0
- LazyLoad 1.9.1
- FitVids 1.1
- Priority Nav
- Moment JS
- Moment Duration Format
Script.js
17KB
Local scripts that initiate JS specific to the patterns.
- Classes for Mobile
- Priority Navigation
- Sabbath Column icon
- DropCaps
- Menu Drawer
- Slick Carousel