mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-23 08:56:17 -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}`;
|
||||
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
<div id="mocha"></div>
|
||||
<div id="iframe-container"></div>
|
||||
|
||||
<script src="/static/js/jquery.js"></script>
|
||||
<script src="/static/js/browser.js"></script>
|
||||
<script src="/static/js/vendors/jquery.js"></script>
|
||||
<script src="/static/js/vendors/browser.js"></script>
|
||||
<script src="lib/underscore.js"></script>
|
||||
|
||||
<script src="lib/mocha.js"></script>
|
||||
|
@ -20,7 +20,7 @@
|
|||
<script src="helper.js"></script>
|
||||
<script src="helper/methods.js"></script>
|
||||
<script src="helper/ui.js"></script>
|
||||
|
||||
|
||||
<script src="specs_list.js"></script>
|
||||
<script src="runner.js"></script>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue