• Phil Hughes's avatar
    Flash is now a ES6 module · fa2af5e0
    Phil Hughes authored
    Reduced the technical debt around our JS flash function by making it a
    module that is imported rather than relying on the global function.
    The global function still exists mainly for technical debt with how
    some requests are being completed, but new JS should import the module
    directly.
    
    Also reduces some tech debt in the file by removing the need for jQuery.
    Instead Flash is now 100% vanilla JS.
    fa2af5e0
main.js 10.4 KB