{"action":"closed","issue":{"url":"https://api.github.com/repos/kontur/jquery-fontsampler/issues/2","repository_url":"https://api.github.com/repos/kontur/jquery-fontsampler","labels_url":"https://api.github.com/repos/kontur/jquery-fontsampler/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/kontur/jquery-fontsampler/issues/2/comments","events_url":"https://api.github.com/repos/kontur/jquery-fontsampler/issues/2/events","html_url":"https://github.com/kontur/jquery-fontsampler/issues/2","id":187219050,"number":2,"title":"bug in `enableOTFeature`","user":{"login":"graphicore","id":393132,"avatar_url":"https://avatars.githubusercontent.com/u/393132?v=3","gravatar_id":"","url":"https://api.github.com/users/graphicore","html_url":"https://github.com/graphicore","followers_url":"https://api.github.com/users/graphicore/followers","following_url":"https://api.github.com/users/graphicore/following{/other_user}","gists_url":"https://api.github.com/users/graphicore/gists{/gist_id}","starred_url":"https://api.github.com/users/graphicore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graphicore/subscriptions","organizations_url":"https://api.github.com/users/graphicore/orgs","repos_url":"https://api.github.com/users/graphicore/repos","events_url":"https://api.github.com/users/graphicore/events{/privacy}","received_events_url":"https://api.github.com/users/graphicore/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-03T23:42:21Z","updated_at":"2016-11-04T14:33:19Z","closed_at":"2016-11-04T14:33:19Z","body":"Hi, I just had a brief look at the code and spotted what is probably a  bug in:\r\nhttps://github.com/kontur/jquery-fontsampler/blob/master/src/jquery.fontsampler.js#L78\r\n\r\nIt is:\r\n```js\r\nif (this.otfeatures.indexOf( args[ 1 ] === -1 ) ) {\r\n```\r\nI belief it should be\r\n\r\n```js\r\nif (this.otfeatures.indexOf( args[ 1 ] ) === -1  ) {\r\n```\r\n"}}
{"actor":{"display_login":"kontur"}}