"$ is not a function" JQUERY problem on my site ?
Hello everyone, I got an error when I go to my site, actually I think it's Jquery the problem but I can't find how to fix this..
here my component page:
<html data-sly-use.clientlib="/libs/granite/sightly/templates/clientlib.html">
<head>
<title>My Title</title>
<sly data-sly-call="${clientlib.js @ categories='cq.jquery'}"/>
</head>
<body>
<div data-sly-include="/libs/wcm/core/components/init/init.jsp"></div>
<header>
</header>
<main>
<!-- <div data-sly-resource="${'responsivegrid' @ resourceType='wcm/foundation/components/responsivegrid'}"></div> -->
<div class="container">
<sly data-sly-use.clientlib="/libs/granite/sightly/templates/clientlib.html"/>
<sly data-sly-call="${clientlib.css @categories='horizon-static.components'}"/>
<sly data-sly-call="${clientlib.js @categories='horizon-static.components'}"/>
<div data-sly-resource="${'content' @ resourceType='wcm/foundation/components/parsys'}"></div>
<sly data-sly-resource="${'par' @ resourceType='wcm/foundation/components/responsivegrid'}/>
</div>
</main>
</body>
</html>
Here the error I get in my console when I'm on the editor page on my site, if someone have an idea or something I would appreciate, because lot of work I try to do with my components, does not work because this error is thrown..
Uncaught TypeError: (intermediate value)(...) is not a function at all.js:6318
Uncaught TypeError: $ is not a function at all.js:6297
at HTMLDocument.<anonymous> (all.js:6297)
at fire (jquery.js:3232)
at Object.fireWith [as resolveWith] (jquery.js:3362)
at Function.ready (jquery.js:3582)
at HTMLDocument.completed (jquery.js:3617)