forked from go-gitea/gitea
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use a web worker for syntax highlighting, drop IE11 support
Syntax highlighting is now done in a separate thread which should help performance on large files. The web worker is initialized from a function which is not something IE11 supports and which would force us to create a separate .js file for the worker code. For the reason above, I think it's a good opportunity to end IE11 support with this commit, so it should be landed in the next minor release version. The code uses various ES2017 features and should work in all evergreen browsers. Fixes: go-gitea#6147
- Loading branch information
1 parent
7d9a130
commit ababfbf
Showing
5 changed files
with
84 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,6 @@ | |
"> 1%", | ||
"last 2 firefox versions", | ||
"last 2 safari versions", | ||
"ie 11" | ||
"not ie 11" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters