Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion libraries/prismjs/components/prism-core.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ var Prism = (function (_self) {
if (typeof document === 'undefined') {
return null;
}
if ('currentScript' in document && 1 < 2 /* hack to trip TS' flow analysis */) {
if (document.currentScript && document.currentScript.tagName === 'SCRIPT' && 1 < 2 /* hack to trip TS' flow analysis */) {
return /** @type {any} */ (document.currentScript);
}

Expand Down
2 changes: 1 addition & 1 deletion libraries/prismjs/components/prism-core.min.js

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

Empty file modified libraries/prismjs/components/prism-n4js.js
100644 → 100755
Empty file.
Empty file modified libraries/prismjs/components/prism-n4js.min.js
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion tinymce_codehighlight.module
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function tinymce_codehighlight_library_info() {
$libraries['Prism.js_local'] = array(
'title' => 'Prism.js (local)',
'website' => 'https://prismjs.com/',
'version' => '1.29.0',
'version' => '1.30.0',
'js' => array(
$path . '/components/prism-core.min.js' => $js_options,
$path . '/plugins/autoloader/prism-autoloader.min.js' => $js_options,
Expand Down