{"action":"closed","issue":{"url":"https://api.github.com/repos/hammerjs/hammer.js/issues/548","labels_url":"https://api.github.com/repos/hammerjs/hammer.js/issues/548/labels{/name}","comments_url":"https://api.github.com/repos/hammerjs/hammer.js/issues/548/comments","events_url":"https://api.github.com/repos/hammerjs/hammer.js/issues/548/events","html_url":"https://github.com/hammerjs/hammer.js/issues/548","id":33234913,"number":548,"title":"Compatibility with hammer 1.1.2","user":{"login":"draklane","id":5165121,"avatar_url":"https://avatars.githubusercontent.com/u/5165121?v=3","gravatar_id":"","url":"https://api.github.com/users/draklane","html_url":"https://github.com/draklane","followers_url":"https://api.github.com/users/draklane/followers","following_url":"https://api.github.com/users/draklane/following{/other_user}","gists_url":"https://api.github.com/users/draklane/gists{/gist_id}","starred_url":"https://api.github.com/users/draklane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/draklane/subscriptions","organizations_url":"https://api.github.com/users/draklane/orgs","repos_url":"https://api.github.com/users/draklane/repos","events_url":"https://api.github.com/users/draklane/events{/privacy}","received_events_url":"https://api.github.com/users/draklane/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-05-10T11:00:31Z","updated_at":"2015-06-08T23:03:43Z","closed_at":"2015-06-08T23:03:43Z","body":"I used hammer 1.0.5 with Modernizr\r\n\r\nBut the syntax of my code should have a problem with the new version of hammer.\r\n\r\nThis syntax is no longer valid ?\r\n\r\n$('#btn-open').hammer().on(Modernizr.touch ? 'tap' : 'click', function() {\r\n// Do something\r\n });"}}