title: Whats the difference between the following?
body: <p>I am confused between the difference between </p>
  
  <pre><code>   var getPromise=$.get('/query'),
         postPromise = getPromise.done(function(data){ 
                return $.post('/search',data); 
         });
  </code></pre>
  
  <p>and </p>
  
  <pre><code>var getPromise = $.get('/query'); 
  var postPromise = getPromise.pipe(function(data){ 
      return $.post('/search',data); 
  });
  </code></pre>
  
  <p>Can anyone explain me?</p>