{"action":"created","issue":{"url":"https://api.github.com/repos/angular-ui/bootstrap/issues/4400","labels_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/4400/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/4400/comments","events_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/4400/events","html_url":"https://github.com/angular-ui/bootstrap/pull/4400","id":105924227,"number":4400,"title":"fix(tooltip): do not toggle when `isOpen` is not boolean","user":{"login":"wesleycho","id":1703387,"avatar_url":"https://avatars.githubusercontent.com/u/1703387?v=3","gravatar_id":"","url":"https://api.github.com/users/wesleycho","html_url":"https://github.com/wesleycho","followers_url":"https://api.github.com/users/wesleycho/followers","following_url":"https://api.github.com/users/wesleycho/following{/other_user}","gists_url":"https://api.github.com/users/wesleycho/gists{/gist_id}","starred_url":"https://api.github.com/users/wesleycho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wesleycho/subscriptions","organizations_url":"https://api.github.com/users/wesleycho/orgs","repos_url":"https://api.github.com/users/wesleycho/repos","events_url":"https://api.github.com/users/wesleycho/events{/privacy}","received_events_url":"https://api.github.com/users/wesleycho/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular-ui/bootstrap/labels/component:%20popover","name":"component: popover","color":"ffffff"},{"url":"https://api.github.com/repos/angular-ui/bootstrap/labels/component:%20tooltip","name":"component: tooltip","color":"ffffff"},{"url":"https://api.github.com/repos/angular-ui/bootstrap/labels/needs:%20review","name":"needs: review","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/angular-ui/bootstrap/milestones/19","html_url":"https://github.com/angular-ui/bootstrap/milestones/0.14.0%20(Bootstrap%203.3)","labels_url":"https://api.github.com/repos/angular-ui/bootstrap/milestones/19/labels","id":1022385,"number":19,"title":"0.14.0 (Bootstrap 3.3)","description":"Full Bootstrap v3.3.2 compatibility","creator":{"login":"rvanbaalen","id":220637,"avatar_url":"https://avatars.githubusercontent.com/u/220637?v=3","gravatar_id":"","url":"https://api.github.com/users/rvanbaalen","html_url":"https://github.com/rvanbaalen","followers_url":"https://api.github.com/users/rvanbaalen/followers","following_url":"https://api.github.com/users/rvanbaalen/following{/other_user}","gists_url":"https://api.github.com/users/rvanbaalen/gists{/gist_id}","starred_url":"https://api.github.com/users/rvanbaalen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rvanbaalen/subscriptions","organizations_url":"https://api.github.com/users/rvanbaalen/orgs","repos_url":"https://api.github.com/users/rvanbaalen/repos","events_url":"https://api.github.com/users/rvanbaalen/events{/privacy}","received_events_url":"https://api.github.com/users/rvanbaalen/received_events","type":"User","site_admin":false},"open_issues":71,"closed_issues":43,"state":"open","created_at":"2015-03-15T21:55:14Z","updated_at":"2015-09-11T14:22:02Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-09-11T00:34:00Z","updated_at":"2015-09-11T18:02:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/angular-ui/bootstrap/pulls/4400","html_url":"https://github.com/angular-ui/bootstrap/pull/4400","diff_url":"https://github.com/angular-ui/bootstrap/pull/4400.diff","patch_url":"https://github.com/angular-ui/bootstrap/pull/4400.patch"},"body":"- Coerce `isOpen` to boolean to do a proper comparison for firing\r\n  `toggleTooltipBind`\r\n\r\n[Here](http://plnkr.co/edit/YFoBqEV1zyvJ73athD7m?p=preview) is the fix in action.\r\n\r\nThis fixes #4335."},"comment":{"url":"https://api.github.com/repos/angular-ui/bootstrap/issues/comments/139614469","html_url":"https://github.com/angular-ui/bootstrap/pull/4400#issuecomment-139614469","issue_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/4400","id":139614469,"user":{"login":"Foxandxss","id":1087957,"avatar_url":"https://avatars.githubusercontent.com/u/1087957?v=3","gravatar_id":"","url":"https://api.github.com/users/Foxandxss","html_url":"https://github.com/Foxandxss","followers_url":"https://api.github.com/users/Foxandxss/followers","following_url":"https://api.github.com/users/Foxandxss/following{/other_user}","gists_url":"https://api.github.com/users/Foxandxss/gists{/gist_id}","starred_url":"https://api.github.com/users/Foxandxss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Foxandxss/subscriptions","organizations_url":"https://api.github.com/users/Foxandxss/orgs","repos_url":"https://api.github.com/users/Foxandxss/repos","events_url":"https://api.github.com/users/Foxandxss/events{/privacy}","received_events_url":"https://api.github.com/users/Foxandxss/received_events","type":"User","site_admin":false},"created_at":"2015-09-11T18:02:28Z","updated_at":"2015-09-11T18:02:28Z","body":"Not sure if that is readable or not. One important thing. If you deactivate a JSHINT rule (with `-WXXX`) you have to put it after the code that is breaking the rule (`+WXXX`).\r\n\r\nI would also add a test."}}