title: Smooth scrolling with easing isn't working
body: <p>I have a <code>JQuery</code> function which should allow smooth scrolling with <code>JQuery</code> easing however it does not work and I can't seem to find the error.</p>
  
  <p>The code for the function is</p>
  
  <pre><code>$(function(){
      $('a[href*=#]').click(function() {
          if (location.pathname.replace(/^\//,”) == this.pathname.replace(/^\//,”) &amp;&amp; location.hostname == this.hostname) {
              var $target = $(this.hash);
              $target = $target.length &amp;&amp; $target || $('[name=' + this.hash.slice(1) +']');
              if ($target.length) {
                  var targetOffset = $target.offset().top;
                  $(‘html,body’).animate({scrollTop: targetOffset}, {duration:1600,easing:'easeInBounce'});
                  return false;
              }
          }
      });
  });
  </code></pre>
  
  <p>I made a <a href="https://jsfiddle.net/Vusa360/w8zqwn9o/3/" rel="nofollow">JSFiddle</a> with the function in to give an example. (I included the code for the <code>JQuery</code> easing)</p>
  
  <p>Here is a similar function in <a href="https://jsfiddle.net/Vusa360/dz9bbouk/8/" rel="nofollow">JSFiddle</a> however, even though this one does work, it does not include the option to use easing. I would appreciate any help in fixing the problem</p>
  
  <p><strong>Edit</strong></p>
  
  <p>To expand on what I mean by it isn't working; there is no animation when the links are clicked, it just instantly scrolls to that spot in the page.</p>