e2f7fa Ensure we always pass two object to the .done() function

Authored and Committed by Pierre-Yves Chibon 9 years ago
    Ensure we always pass two object to the .done() function
    
    Then check if these two objects contain something before playing with
    them.