{"name":"hammerjs","title":"Hammer.JS","description":"A javascript library for multi-touch gestures","version":"1.0.3-dev","homepage":"http://eightmedia.github.com/hammer.js","licenses":[{"type":"MIT","url":"https://github.com/eightmedia/hammer.js/blob/master/LICENSE"}],"keywords":["touch","gestures","ender"],"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"},"devDependencies":{"grunt":"0.4.x","grunt-contrib-connect":"0.1.x","grunt-contrib-concat":"0.1.x","grunt-contrib-uglify":"0.1.x","grunt-contrib-jshint":"0.1.x","grunt-contrib-watch":"0.2.x","grunt-contrib-qunit":"0.1.x","grunt-tagrelease":"0.1.x"},"main":"dist/hammer.js","engines":{"node":">=0.8.0"},"scripts":{"test":"grunt test"},"_id":"hammerjs@1.0.3-dev","dist":{"shasum":"4cb5d7f58e67429d58c3b35d5a794e27d0002f55","tarball":"http://registry-npm.ywwl.com/hammerjs/download/hammerjs-1.0.3-dev.tgz","integrity":"sha512-g0DbRc3Vx+OfFjyzYqrpcLe1NNEJHIKiEwMWX5/Sr40oVH2TZSVaFgAxs0p+mp5SIg6Oes2uUcP9M9NRn8kgyw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFv5m5XiEcwUkN8PdlWgPSt8gjR/7DkJau6sZ+w8MSbCAiEAsiGRd2vrEe2g+mIZzwWRVfY6vRZQMcfXcw8cDLryY1c="}],"size":3604374,"noattachment":false,"key":"/hammerjs/-/hammerjs-1.0.3dev.tgz"},"_from":".","_npmVersion":"1.2.11","_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":1394705142345,"_cnpm_publish_time":1394705142345,"dist-tags":{"latest":"2.0.8"}}