soyjavi/QuoJS — pull request #78 by andyedinborough (2013-08-26 15:28:27+00:00)
Title: Fix for on/off when selector is undefined

When $$.fn.on and $$.fn.off are called with `undefined` passed in for the selector, they incorrectly pass `selector` into the subsequent calls to `bind` and `unbind`. Null-coalescing `selector` with `callback` easily resolves this.