hammerjs/hammer.js — pull request #612 by rfuerst87 (2014-07-21 14:09:49+00:00)
Title: fix event handling.

Calling `hammer.off(...)` in an event handler can lead to a "cannot call method of undefined" error in the for loop on line 233. This is because `var handlers` refers to the same object as `this.handlers` does. Using `Array.slice()` solves this issue.