Skip to content
This repository has been archived by the owner on Aug 27, 2022. It is now read-only.

Commit

Permalink
Fix package.json deps versions
Browse files Browse the repository at this point in the history
Use actual version numbers for the package.json dependencies
Install and use whatwg-fetch as polyfill for older browsers (Safari 9)
  • Loading branch information
andreasremdt authored and andi34 committed Aug 3, 2020
1 parent 702af69 commit 646fef1
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 3 deletions.
1 change: 1 addition & 0 deletions admin/index.php
Expand Up @@ -148,6 +148,7 @@
</div>
</div>

<script src="node_modules/whatwg-fetch/dist/fetch.umd.js"></script>
<script type="text/javascript" src="../api/config.php"></script>
<script type="text/javascript" src="../node_modules/jquery/dist/jquery.min.js"></script>
<script type="text/javascript" src="../resources/js/theme.js"></script>
Expand Down
1 change: 1 addition & 0 deletions chromakeying.php
Expand Up @@ -84,6 +84,7 @@
<div class="modal__body" id="save_mesg_text"><span data-i18n="saving"></span></div>
</div>
</div>
<script src="node_modules/whatwg-fetch/dist/fetch.umd.js"></script>
<script type="text/javascript" src="api/config.php"></script>
<script type="text/javascript" src="node_modules/jquery/dist/jquery.min.js"></script>
<script type="text/javascript" src="node_modules/marvinj/marvinj/release/marvinj-0.8.js"></script>
Expand Down
1 change: 1 addition & 0 deletions gallery.php
Expand Up @@ -76,6 +76,7 @@
</div>
</div>

<script src="node_modules/whatwg-fetch/dist/fetch.umd.js"></script>
<script type="text/javascript" src="api/config.php"></script>
<script type="text/javascript" src="resources/js/adminshortcut.js"></script>
<script type="text/javascript" src="node_modules/jquery/dist/jquery.min.js"></script>
Expand Down
1 change: 1 addition & 0 deletions index.php
Expand Up @@ -230,6 +230,7 @@
endif; ?>
</div>

<script src="node_modules/whatwg-fetch/dist/fetch.umd.js"></script>
<script type="text/javascript" src="api/config.php"></script>
<script type="text/javascript" src="resources/js/adminshortcut.js"></script>
<script type="text/javascript" src="node_modules/jquery/dist/jquery.min.js"></script>
Expand Down
1 change: 1 addition & 0 deletions login/index.php
Expand Up @@ -94,6 +94,7 @@
</div>
</div>

<script src="node_modules/whatwg-fetch/dist/fetch.umd.js"></script>
<script type="text/javascript" src="../api/config.php"></script>
<script type="text/javascript" src="../node_modules/jquery/dist/jquery.min.js"></script>
<script type="text/javascript" src="../resources/js/adminshortcut.js"></script>
Expand Down
1 change: 1 addition & 0 deletions manual/index.php
Expand Up @@ -83,6 +83,7 @@
</div>
</div>

<script src="node_modules/whatwg-fetch/dist/fetch.umd.js"></script>
<script type="text/javascript" src="../api/config.php"></script>
<script type="text/javascript" src="../node_modules/jquery/dist/jquery.min.js"></script>
<script type="text/javascript" src="../resources/js/manual.js"></script>
Expand Down
7 changes: 4 additions & 3 deletions package.json
Expand Up @@ -35,13 +35,14 @@
"@andreasremdt/simple-translator": "^2.0.1",
"font-awesome": "^4.7.0",
"gh-markdown-cli": "^0.2.0",
"github-markdown-css": "https://github.com/andi34/github-markdown-css",
"github-markdown-css": "^4.0.0",
"gulp": "4.0.2",
"gulp-sass": "4.0.2",
"jquery": "^3.5.1",
"marvinj": "https://github.com/gabrielarchanjo/marvinj",
"marvinj": "^1.0.0",
"normalize.css": "^8.0.1",
"photoswipe": "https://github.com/andi34/PhotoSwipe"
"photoswipe": "^4.1.3",
"whatwg-fetch": "^3.2.0"
},
"devDependencies": {
"@babel/core": "^7.11.0",
Expand Down
1 change: 1 addition & 0 deletions slideshow/index.php
Expand Up @@ -82,6 +82,7 @@
<?php endif; ?>
</div>

<script src="node_modules/whatwg-fetch/dist/fetch.umd.js"></script>
<script type="text/javascript" src="../api/config.php"></script>
<script type="text/javascript" src="../node_modules/jquery/dist/jquery.min.js"></script>
<script type="text/javascript" src="../resources/js/vendor/jquery.easing.1.3.js"></script>
Expand Down

0 comments on commit 646fef1

Please sign in to comment.