Skip to content

Commit

Permalink
File Highlight: Fixed Prism check (#2827)
Browse files Browse the repository at this point in the history
  • Loading branch information
RunDevelopment committed Mar 23, 2021
1 parent 1b63cd0 commit 53d34b2
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions plugins/file-highlight/prism-file-highlight.js
Expand Up @@ -9,8 +9,6 @@
Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;
}

var Prism = window.Prism;

var LOADING_MESSAGE = 'Loading…';
var FAILURE_MESSAGE = function (status, message) {
return '✖ Error ' + status + ' while fetching file: ' + message;
Expand Down
2 changes: 1 addition & 1 deletion plugins/file-highlight/prism-file-highlight.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions prism.js
Expand Up @@ -1632,8 +1632,6 @@ Prism.languages.js = Prism.languages.javascript;
Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;
}

var Prism = window.Prism;

var LOADING_MESSAGE = 'Loading…';
var FAILURE_MESSAGE = function (status, message) {
return '✖ Error ' + status + ' while fetching file: ' + message;
Expand Down

0 comments on commit 53d34b2

Please sign in to comment.