Begin: Update signature and add example

Ref jquery/qunit#350
Closes #48