title: Chaining multiple done() callbacks to the same deferred promise
body: <p>In short, I would like to have one general callback that always fires in case of a successful ajax call, followed by separate callback functionality depending on where the method is invoked.</p>
  
  <p>This seems to work. My question is if this is a correct use of the promise object and if it's safe to assume that multiple promise callbacks of the same type always stack sequentially?</p>
  
  <pre><code>var dfd = $.Deferred(),
      promise = dfd.promise();
  
  promise.done(function(){
      console.log(1);
  }).done(function(){
      console.log(2);
  });
  
  dfd.resolve();
  </code></pre>
  
  <p><a href="http://jsfiddle.net/4ax4nxbh/" rel="noreferrer">http://jsfiddle.net/4ax4nxbh/</a></p>