Small library concept to simplify how to handle the swipe and pinch gestures with MSGestures in IE10+
In your web page:
<script src="MSGestures.js"></script>
<script>
var gestures = new MSGestures();
var domEle = document.getElementById('someId');
gestures.addEventListener(domEle, 'swipe', function(e){
console.log('swipe!');
}
</script>
(Coming soon)
(Coming soon)
(Nothing yet)
Copyright (c) 2012 Anton Molleda
Licensed under the MIT, GPL licenses.
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt.