t4t5/sweetalert — pull request #18 by cmndo (2014-10-02 15:38:22+00:00)
Title: onCancel param added

As a prompt replacement I needed the cancel button to also trigger an action.

I see that my editor has messed up your spacing conventions.