A party who has signed a written contract may be compelled specifically to perform it, though the other party has not signed it, if the latter has performed, or offers to perform it on his part, and the case is otherwise proper for enforcing specific performance.