Commit 2629fd853c638d417c2e57c43b40dc10a05c6c28
1 parent
9734364e
Exists in
master
and in
1 other branch
remove explicit popper.js dependency and use bootstrap.bundle instead
Showing
6 changed files
with
11 additions
and
12 deletions
Show diff stats
package.json
| ... | ... | @@ -3,12 +3,11 @@ |
| 3 | 3 | "email": "mjsb@uevora.pt", |
| 4 | 4 | "dependencies": { |
| 5 | 5 | "@fortawesome/fontawesome-free": "^5.15.1", |
| 6 | - "bootstrap": "^4.5.3", | |
| 6 | + "bootstrap": "^4.5", | |
| 7 | 7 | "codemirror": "^5.58.1", |
| 8 | 8 | "datatables": "^1.10", |
| 9 | 9 | "jquery": "^3.5.1", |
| 10 | 10 | "mathjax": "^3.1.2", |
| 11 | - "popper.js": "^1.16.1", | |
| 12 | 11 | "underscore": "^1.11.0" |
| 13 | 12 | } |
| 14 | 13 | } | ... | ... |
perguntations/templates/admin.html
| ... | ... | @@ -21,9 +21,9 @@ |
| 21 | 21 | |
| 22 | 22 | <!-- Scripts --> |
| 23 | 23 | <script src="/static/jquery/jquery.min.js"></script> |
| 24 | - <script defer src="/static/popper.js/popper.min.js"></script> | |
| 24 | + <!-- <script defer src="/static/popper.js/popper.min.js"></script> --> | |
| 25 | 25 | <script defer src="/static/fontawesome-free/js/all.min.js"></script> |
| 26 | - <script defer src="/static/bootstrap/js/bootstrap.min.js"></script> | |
| 26 | + <script defer src="/static/bootstrap/js/bootstrap.bundle.min.js"></script> | |
| 27 | 27 | <script defer src="/static/datatables/js/jquery.dataTables.min.js"></script> |
| 28 | 28 | <script defer src="/static/underscore/underscore-min.js"></script> |
| 29 | 29 | <script defer src="/static/js/admin.js"></script> | ... | ... |
perguntations/templates/grade.html
| ... | ... | @@ -13,9 +13,9 @@ |
| 13 | 13 | |
| 14 | 14 | <!-- Scripts --> |
| 15 | 15 | <script src="/static/jquery/jquery.min.js"></script> |
| 16 | - <script defer src="/static/popper.js/popper.min.js"></script> | |
| 16 | + <!-- <script defer src="/static/popper.js/popper.min.js"></script> --> | |
| 17 | 17 | <script defer src="/static/fontawesome-free/js/all.min.js"></script> |
| 18 | - <script defer src="/static/bootstrap/js/bootstrap.min.js"></script> | |
| 18 | + <script defer src="/static/bootstrap/js/bootstrap.bundle.min.js"></script> | |
| 19 | 19 | </head> |
| 20 | 20 | <!-- ================================================================= --> |
| 21 | 21 | <body> | ... | ... |
perguntations/templates/login.html
| ... | ... | @@ -12,9 +12,9 @@ |
| 12 | 12 | |
| 13 | 13 | <!-- Scripts --> |
| 14 | 14 | <script src="/static/jquery/jquery.min.js"></script> |
| 15 | - <script defer src="/static/popper.js/popper.min.js"></script> | |
| 15 | + <!-- <script defer src="/static/popper.js/popper.min.js"></script> --> | |
| 16 | 16 | <script defer src="/static/fontawesome-free/js/all.min.js"></script> |
| 17 | - <script defer src="/static/bootstrap/js/bootstrap.min.js"></script> | |
| 17 | + <script defer src="/static/bootstrap/js/bootstrap.bundle.min.js"></script> | |
| 18 | 18 | |
| 19 | 19 | </head> |
| 20 | 20 | <!-- =================================================================== --> | ... | ... |
perguntations/templates/review.html
| ... | ... | @@ -28,9 +28,9 @@ |
| 28 | 28 | |
| 29 | 29 | <!-- Scripts --> |
| 30 | 30 | <script src="/static/jquery/jquery.min.js"></script> |
| 31 | - <script defer src="/static/popper.js/popper.min.js"></script> | |
| 31 | + <!-- <script defer src="/static/popper.js/popper.min.js"></script> --> | |
| 32 | 32 | <script defer src="/static/fontawesome-free/js/all.min.js"></script> |
| 33 | - <script defer src="/static/bootstrap/js/bootstrap.min.js"></script> | |
| 33 | + <script defer src="/static/bootstrap/js/bootstrap.bundle.min.js"></script> | |
| 34 | 34 | </head> |
| 35 | 35 | <!-- ===================================================================== --> |
| 36 | 36 | <body> | ... | ... |
perguntations/templates/test.html
| ... | ... | @@ -21,9 +21,9 @@ |
| 21 | 21 | |
| 22 | 22 | <!-- Scripts --> |
| 23 | 23 | <script src="/static/jquery/jquery.min.js"></script> |
| 24 | - <script defer src="/static/popper.js/popper.min.js"></script> | |
| 24 | + <!-- <script defer src="/static/popper.js/popper.min.js"></script> --> | |
| 25 | 25 | <script defer src="/static/fontawesome-free/js/all.min.js"></script> |
| 26 | - <script defer src="/static/bootstrap/js/bootstrap.min.js"></script> | |
| 26 | + <script defer src="/static/bootstrap/js/bootstrap.bundle.min.js"></script> | |
| 27 | 27 | <script defer src="/static/underscore/underscore-min.js"></script> |
| 28 | 28 | <script src="/static/codemirror/lib/codemirror.js"></script> |
| 29 | 29 | <script src="/static/codemirror/addon/selection/active-line.js"></script> | ... | ... |