Skip to content

Commit

Permalink
navigator.msPointerEnabled got deprecated
Browse files Browse the repository at this point in the history
the used flag got deprecated, the recommended way to detect MSPointerEvents are a test against window as described here:
http://msdn.microsoft.com/en-us/library/windows/apps/hh972607.aspx
  • Loading branch information
visiongeist committed May 24, 2014
1 parent 44d992b commit f517a21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ var utils = (function () {
hasTransform: _transform !== false,
hasPerspective: _prefixStyle('perspective') in _elementStyle,
hasTouch: 'ontouchstart' in window,
hasPointer: navigator.msPointerEnabled,
hasPointer: window.MSPointerEvent,
hasTransition: _prefixStyle('transition') in _elementStyle
});

Expand Down

0 comments on commit f517a21

Please sign in to comment.