In a single page I'm including only jQuery 3.1.1 and stellar.js for a parallax scrolling effects, but when I try tu use it as $(window).stellar();
I get this error in console:
Uncaught TypeError: f.getClientRects is not a function (jquery-3.1.1.min.js:4)
I tried using the migrate plugin as suggested in many answer, but doesn't solve my problem.
The snippet is just to show you the error.
$(function(){
$('.main').stellar();
});
<div class=main>
<div class=slide></div>
<div class=slide></div>
<div class=slide></div>
</div>
<script src=https://code.jquery.com/jquery-3.1.1.min.js></script>
<script src=https://cdnjs.cloudflare.com/ajax/libs/stellar.js/0.6.2/jquery.stellar.min.js></script>