{"action":"created","issue":{"url":"https://api.github.com/repos/HenrikJoreteg/Happy.js/issues/52","labels_url":"https://api.github.com/repos/HenrikJoreteg/Happy.js/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/HenrikJoreteg/Happy.js/issues/52/comments","events_url":"https://api.github.com/repos/HenrikJoreteg/Happy.js/issues/52/events","html_url":"https://github.com/HenrikJoreteg/Happy.js/issues/52","id":44800892,"number":52,"title":"Attribute selector does not work","user":{"login":"terriann","id":316632,"avatar_url":"https://avatars.githubusercontent.com/u/316632?v=3","gravatar_id":"","url":"https://api.github.com/users/terriann","html_url":"https://github.com/terriann","followers_url":"https://api.github.com/users/terriann/followers","following_url":"https://api.github.com/users/terriann/following{/other_user}","gists_url":"https://api.github.com/users/terriann/gists{/gist_id}","starred_url":"https://api.github.com/users/terriann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terriann/subscriptions","organizations_url":"https://api.github.com/users/terriann/orgs","repos_url":"https://api.github.com/users/terriann/repos","events_url":"https://api.github.com/users/terriann/events{/privacy}","received_events_url":"https://api.github.com/users/terriann/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-10-03T13:06:27Z","updated_at":"2015-11-04T03:52:32Z","closed_at":"2015-11-04T03:52:05Z","body":"Happyjs.com documentation states\r\n\r\n    $('#awesomeForm').isHappy({\r\n       fields: {\r\n          // reference the field you're talking about, probably by `id`\r\n          // but you could certainly do $('[name=name]') as well.\r\n        [...]\r\n\r\nThe attribute selector comment is certainly not true. Using the following as a selector for the name field (exactly as the demo is formatted) throws errors:\r\n\r\n            \"[name='name']\": {\r\n              required: true,\r\n              message: 'Might we inquire your name'\r\n            },\r\n\r\n            \"[name=name]\": {\r\n              required: true,\r\n              message: 'Might we inquire your name'\r\n            },\r\n\r\n            \"name='name'\": {\r\n              required: true,\r\n              message: 'Might we inquire your name'\r\n            },\r\n\r\n            \"name=name\": {\r\n              required: true,\r\n              message: 'Might we inquire your name'\r\n            },"},"comment":{"url":"https://api.github.com/repos/HenrikJoreteg/Happy.js/issues/comments/153563428","html_url":"https://github.com/HenrikJoreteg/Happy.js/issues/52#issuecomment-153563428","issue_url":"https://api.github.com/repos/HenrikJoreteg/Happy.js/issues/52","id":153563428,"user":{"login":"btpoe","id":3011873,"avatar_url":"https://avatars.githubusercontent.com/u/3011873?v=3","gravatar_id":"","url":"https://api.github.com/users/btpoe","html_url":"https://github.com/btpoe","followers_url":"https://api.github.com/users/btpoe/followers","following_url":"https://api.github.com/users/btpoe/following{/other_user}","gists_url":"https://api.github.com/users/btpoe/gists{/gist_id}","starred_url":"https://api.github.com/users/btpoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/btpoe/subscriptions","organizations_url":"https://api.github.com/users/btpoe/orgs","repos_url":"https://api.github.com/users/btpoe/repos","events_url":"https://api.github.com/users/btpoe/events{/privacy}","received_events_url":"https://api.github.com/users/btpoe/received_events","type":"User","site_admin":false},"created_at":"2015-11-04T03:52:32Z","updated_at":"2015-11-04T03:52:32Z","body":"#73 fixes this"}}