title: Why does JQuery.getJSON() have a success and a done function?
body: <p>The <a href="http://api.jquery.com/jquery.getjson/" rel="noreferrer">JQuery documentation for getJSON</a> shows an example of:</p>
  
  <pre><code>var jqxhr = $.getJSON( "example.json", function() {
    console.log( "success" );
  })
    .done(function() {
      console.log( "second success" );
    })
    .fail(function() {
      console.log( "error" );
    })
    .always(function() {
      console.log( "complete" );
    });
  </code></pre>
  
  <p>What's the difference between the success function (passed as the 2nd parameter) the the done() function? They seem to be the same thing.</p>