{"name":"hammerjs","title":"Hammer.JS","description":"A javascript library for multi-touch gestures","version":"1.0.11","homepage":"http://eightmedia.github.io/hammer.js","licenses":[{"type":"MIT","url":"https://github.com/eightmedia/hammer.js/blob/master/LICENSE"}],"keywords":["touch","gestures"],"author":{"name":"Jorik Tangelder","email":"j.tangelder@gmail.com"},"repository":{"type":"git","url":"git://github.com/eightmedia/hammer.js.git"},"bugs":{"url":"https://github.com/eightmedia/hammer.js/issues"},"dependencies":{},"devDependencies":{"grunt":"0.4.x","grunt-contrib-connect":"0.7.x","grunt-contrib-concat":"0.3.x","grunt-contrib-uglify":"0.4.x","grunt-contrib-jshint":"0.9.x","grunt-contrib-watch":"0.6.x","grunt-contrib-qunit":"0.4.x","faketouches":"0.0.3","underscore":"1.6.x","grunt-string-replace":"^0.2.7"},"main":"hammer.js","engines":{"node":">=0.8.0"},"scripts":{"test":"grunt test"},"_id":"hammerjs@1.0.11","dist":{"shasum":"85bb661a083a9d2fe86f10e12e51840c1cdc6bc1","tarball":"http://registry-npm.ywwl.com/hammerjs/download/hammerjs-1.0.11.tgz","integrity":"sha512-/8X4tSxQieHkfCwP7OyCu9ifXVjhSj1j3qKrVTNsicNc+R8x2dBySa3BgCKyqOWJBHcjb+kgoQUZGELuaON4Ag==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDOowFU6x4bWCIW098ZGwajdwiTzkI1dwp7ZW5As3yDJAIhAPqQPg3bFEH7qqJCYE9daBnQ8n9FhoMUfu8HSrRw+MFP"}],"size":3607536,"noattachment":false,"key":"/hammerjs/-/hammerjs-1.0.11.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"jtangelder","email":"j.tangelder@gmail.com"},"maintainers":[{"name":"jtangelder","email":"j.tangelder@gmail.com"}],"directories":{},"readme":"# Hammer.js 2.0.6\n\n[![Build Status](https://travis-ci.org/hammerjs/hammer.js.svg)](https://travis-ci.org/hammerjs/hammer.js)\n\n## Support, Questions, and Collaboration\n\n[![Slack Status](https://hammerjs.herokuapp.com/badge.svg)](https://hammerjs.herokuapp.com/)\n\n## Documentation\n\nVisit [hammerjs.github.io](http://hammerjs.github.io) for detailed documentation.\n\n```js\n// get a reference to an element\nvar stage = document.getElementById('stage');\n\n// create a manager for that element\nvar mc = new Hammer.Manager(stage);\n\n// create a recognizer\nvar Rotate = new Hammer.Rotate();\n\n// add the recognizer\nmc.add(Rotate);\n\n// subscribe to events\nmc.on('rotate', function(e) {\n    // do something cool\n    var rotation = Math.round(e.rotation);    \n    stage.style.transform = 'rotate('+rotation+'deg)';\n});\n```\n\nAn advanced demo is available here: [http://codepen.io/runspired/full/ZQBGWd/](http://codepen.io/runspired/full/ZQBGWd/)\n\n\n## Contributing\n\nRead the [contributing guidelines](./CONTRIBUTING.md).\n\nFor PRs.\n\n- Use [Angular Style commit messages](https://github.com/angular/angular.js/blob/v1.4.8/CONTRIBUTING.md#commit)\n- Rebase your PR branch when necessary\n- If you add a feature or fix a bug, please add or fix any necessary tests.\n- If a new feature, open a docs PR to go with.\n\n## Building\n\nYou can get the pre-build versions from the Hammer.js website, or do this by yourself running \n`npm install -g grunt-cli && npm install && grunt build`\n","publish_time":1400594409787,"_cnpm_publish_time":1400594409787,"dist-tags":{"latest":"2.0.8"}}