Skip to content

Commit

Permalink
chore: remove warning from ts about IE stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
billchurch committed Dec 9, 2021
1 parent d903da8 commit 55b6dc4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
- Add ./node_modules to .dockerignore [#240](../../issues/240) thanks @UncleSamSwiss
- validator to 13.7.0 [to mitigate potential Regular Expression Denial of Service (ReDoS)](https://snyk.io/vuln/SNYK-JS-VALIDATOR-1090600)
- cidr-matcher should be [re-installed to pickup >[email protected] due to prototype pollution vulnerability](https://snyk.io/vuln/SNYK-JS-JSONSCHEMA-1920922)

- Update xterm.js to 4.15.0 [#261](../../issues/261)
- Replace deprecated term.setOptions with term.options
### Changes
- update README.md for additional Docker methods thanks @Utopiah

Expand Down
8 changes: 8 additions & 0 deletions app/client/src/js/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ import { FitAddon } from 'xterm-addon-fit';
import { library, dom } from '@fortawesome/fontawesome-svg-core';
import { faBars, faClipboard, faDownload, faKey, faCog } from '@fortawesome/free-solid-svg-icons';

// for Internet Explorer compatibility... i know gross...
declare global {
interface Navigator {
msSaveBlob?: (blob: any, defaultName?: string) => boolean
msSaveOrOpenBlob?: (blob: any, defaultName?: string) => boolean
}
}

library.add(faBars, faClipboard, faDownload, faKey, faCog);
dom.watch();

Expand Down

0 comments on commit 55b6dc4

Please sign in to comment.