Skip to content

Commit

Permalink
Attempted fix: In 'Strict Mode', undeclared variables are not automat…
Browse files Browse the repository at this point in the history
…ically global.
  • Loading branch information
tvdijen committed Oct 31, 2023
1 parent 2f3a869 commit 876465d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/resources/js/highlight.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
//'use strict';

let hljs;

import hljs from "highlight.js/lib/core";
import http from "highlight.js/lib/languages/http";
import properties from "highlight.js/lib/languages/properties";
Expand Down

0 comments on commit 876465d

Please sign in to comment.