Move vendor libraries to /vendors folder and exclude from LGTM

This commit is contained in:
John McLear 2021-02-21 15:07:39 +00:00 committed by GitHub
parent 0bb3e65020
commit 1b8cd0747d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
32 changed files with 79 additions and 75 deletions

View file

@ -7,7 +7,7 @@ const helper = {};
const jsLibraries = {};
helper.init = (cb) => {
$.get('/static/js/jquery.js').done((code) => {
$.get('/static/js/vendors/jquery.js').done((code) => {
// make sure we don't override existing jquery
jsLibraries.jquery = `if(typeof $ === 'undefined') {\n${code}\n}`;