Skip to content

Commit 53d34b2

Browse files
File Highlight: Fixed Prism check (#2827)
1 parent 1b63cd0 commit 53d34b2

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

plugins/file-highlight/prism-file-highlight.js

-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;
1010
}
1111

12-
var Prism = window.Prism;
13-
1412
var LOADING_MESSAGE = 'Loading…';
1513
var FAILURE_MESSAGE = function (status, message) {
1614
return '✖ Error ' + status + ' while fetching file: ' + message;

plugins/file-highlight/prism-file-highlight.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

prism.js

-2
Original file line numberDiff line numberDiff line change
@@ -1632,8 +1632,6 @@ Prism.languages.js = Prism.languages.javascript;
16321632
Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;
16331633
}
16341634

1635-
var Prism = window.Prism;
1636-
16371635
var LOADING_MESSAGE = 'Loading…';
16381636
var FAILURE_MESSAGE = function (status, message) {
16391637
return '✖ Error ' + status + ' while fetching file: ' + message;

0 commit comments

Comments
 (0)