mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 16:06:16 -04:00
Move vendor libraries to /vendors folder and exclude from LGTM
This commit is contained in:
parent
0bb3e65020
commit
1b8cd0747d
32 changed files with 79 additions and 75 deletions
|
@ -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}`;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue