title: TypeError: jQuery.easing[this.easing] is not a function
body: <p>I need to add an effect to my link with jQuery but it only works in min 1.7.1, and I have another code that only worked in 1.10.2.</p>
  
  <p>This code works only in 1.10.2 </p>
  
  <pre><code>$(document).ready(function(){
      var menu = document.querySelector('#menu-bar-wrapper');
      var origOffsetY = menu.offsetTop;
      function scroll () {
          if ($(window).scrollTop() &gt;= origOffsetY) {
              $('#menu-bar-wrapper').addClass('sticky');
              $('#latest-wrapper').addClass('menu-padding');
          } else {
              $('#menu-bar-wrapper').removeClass('sticky');
              $('#latest-wrapper').removeClass('menu-padding');
          }
      }
      document.onscroll = scroll;
  });
  </code></pre>
  
  <p>and this work in 1.7.1 :</p>
  
  <pre><code>$(document).ready(function(){
      $('.block-content ul.menu li').hover(function(event) {
          $(this).stop().animate({ marginRight: "5px" }, {duration: 'slow',easing: 'easeOutElastic'});
      },function(){
          $(this).stop().animate({ marginRight: "0px" }, {duration: 'slow',easing: 'easeOutElastic'});
      });
  });
  </code></pre>
  
  <p>When I open my site these two codes don't work and show me this error :</p>
  
  <p><code>TypeError: jQuery.easing[this.easing] is not a function</code></p>
  
  <p><code>percent, this.options.duration * percent, 0, 1, this.options.duration</code></p>
  
  <p>What can I do to solved it?</p>