GUACAMOLE-773: Include required polyfills for Blob and datalist.

This commit is contained in:
Michael Jumper
2021-04-22 16:01:09 -07:00
parent c546545c5e
commit 5587213183
2 changed files with 6 additions and 0 deletions

View File

@@ -75,6 +75,10 @@
</div>
</div>
<!-- Polyfills -->
<script type="text/javascript" src="Blob.js"></script>
<script type="text/javascript" src="datalist-polyfill.min.js"></script>
<!-- Core libraries that MUST be available at the global level (for use
by extensions) -->
<script type="text/javascript" src="guacamole-common-js/all.min.js"></script>

View File

@@ -127,6 +127,8 @@ module.exports = {
// Copy core libraries for global inclusion
new CopyPlugin([
{ from: 'angular/angular.min.js' },
{ from: 'blob-polyfill/Blob.js' },
{ from: 'datalist-polyfill/datalist-polyfill.min.js' },
{ from: 'jquery/dist/jquery.min.js' },
{ from: 'lodash/lodash.min.js' }
], {