bitovi/canjs — pull request #1055 by andykant (2014-06-06 17:48:02+00:00)
Title: Fixed incorrect scope for can/event's delegate and undelegate

The `delegate` and `undelegate` aliases in `can/event` are intended to provide fallbacks to `bind` and `unbind` functionality for normal JS objects. There was a bug where the scope was never passed when using those methods.

The existing test was incorrectly using `can/util`'s `delegate` and `undelegate`, not `can/events`'s. This fixes the test to properly test against `can/event`, as well as fixes the scope bug.