Fixed undefined body
get rid off event variable
Merge pull request #47 from sbmaxx/fixUndefinedBody

Fixed undefined body
Mouse and Pointer events always need document level handlers for tracking

Make sure unregister never removes the document handlers

Fixes Polymer/core-overlay#9
Work around Chrome 36 bugs with SVG and event path

Fixes Polymer/polymer#722
Workaround touch event bugs on iOS

On iOS, if an element is created from a document that is not window.document, touch event listeners will not work
correctly, and may crash the browser if the element is removed.

Therefore, for iOS we implement only one touch listener on document, and use target finding on touchstart.

These broken touch handlers are very easy to make with the Polymer declarative gesture system, but this is a bug for
Safari to fix.

Fixes #56 Work around safari crasher
Fixes #33 Work around safari touchevent listener bug
Merge pull request #57 from Polymer/workaround-bugs

Work around browser bugs
be more explicit with svg nodes for firefox and safari