mirror of
https://github.com/boostorg/hof.git
synced 2026-01-31 08:12:19 +00:00
Check for jquery
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
$( document ).ready(function() {
|
||||
console.log("Configure hljs");
|
||||
hljs.configure({languages:['cpp']});
|
||||
});
|
||||
if (typeof $ === "function"){
|
||||
$( document ).ready(function() {
|
||||
console.log("Configure hljs");
|
||||
hljs.configure({languages:['cpp']});
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user