Handle the situation if no callback is supplied to _trigger

See comment here: https://github.com/share/ShareJS/commit/9740645231dcef66cd904cb5713521996a35339c#commitcomment-3574199