{"action":"opened","issue":{"url":"https://api.github.com/repos/alpheios-project/morphlib/issues/7","repository_url":"https://api.github.com/repos/alpheios-project/morphlib","labels_url":"https://api.github.com/repos/alpheios-project/morphlib/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/alpheios-project/morphlib/issues/7/comments","events_url":"https://api.github.com/repos/alpheios-project/morphlib/issues/7/events","html_url":"https://github.com/alpheios-project/morphlib/issues/7","id":173898937,"number":7,"title":"Create library deactivate method","user":{"login":"balmas","id":644870,"avatar_url":"https://avatars.githubusercontent.com/u/644870?v=3","gravatar_id":"","url":"https://api.github.com/users/balmas","html_url":"https://github.com/balmas","followers_url":"https://api.github.com/users/balmas/followers","following_url":"https://api.github.com/users/balmas/following{/other_user}","gists_url":"https://api.github.com/users/balmas/gists{/gist_id}","starred_url":"https://api.github.com/users/balmas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balmas/subscriptions","organizations_url":"https://api.github.com/users/balmas/orgs","repos_url":"https://api.github.com/users/balmas/repos","events_url":"https://api.github.com/users/balmas/events{/privacy}","received_events_url":"https://api.github.com/users/balmas/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/alpheios-project/morphlib/labels/requirement","name":"requirement","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/alpheios-project/morphlib/milestones/1","html_url":"https://github.com/alpheios-project/morphlib/milestones/activate/de-activate%20media-appropriate%20mouseover/touch%20behavior%20","labels_url":"https://api.github.com/repos/alpheios-project/morphlib/milestones/1/labels","id":1970949,"number":1,"title":"activate/de-activate media-appropriate mouseover/touch behavior ","description":"Library should have an activate method and a deactivate method.\r\n\r\nActivate method:\r\n* takes the default language code as a required parameter.\r\n* adds an event listener to the text on the page.  It should have a hard-coded default that works regardless of media-type, but take as a parameter a list of events to listen to instead.\r\n* It should work on a touch-screen as well as with a mouse. \r\n* It should activate whether the text is in the main body of the page, in an iframe and in an svg element.\r\n* all it needs to do at this point is present a response which returns the language code for which it has been activated and a hard-coded method which responds which indicates it has been called.\r\n\r\nDeactivate method:\r\n\r\n* should remove the registered event listener(s) and present a response which indicates it has been de-activated.\r\n\r\nCurrent Language method:\r\n* returns the currently active language \r\n\r\nUnit tests:\r\n\r\n* test activate method adds the default event listener\r\n* test activate method adds a single client-supplied event listener\r\n* test activate method adds multiple client-supplied event listeners \r\n* test deactivate method removes a single event listener \r\n* test deactivate method removes multiple event listeners\r\n* test current language method returns the language which was activated ","creator":{"login":"balmas","id":644870,"avatar_url":"https://avatars.githubusercontent.com/u/644870?v=3","gravatar_id":"","url":"https://api.github.com/users/balmas","html_url":"https://github.com/balmas","followers_url":"https://api.github.com/users/balmas/followers","following_url":"https://api.github.com/users/balmas/following{/other_user}","gists_url":"https://api.github.com/users/balmas/gists{/gist_id}","starred_url":"https://api.github.com/users/balmas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balmas/subscriptions","organizations_url":"https://api.github.com/users/balmas/orgs","repos_url":"https://api.github.com/users/balmas/repos","events_url":"https://api.github.com/users/balmas/events{/privacy}","received_events_url":"https://api.github.com/users/balmas/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":0,"state":"open","created_at":"2016-08-29T23:04:30Z","updated_at":"2016-08-29T23:48:42Z","due_on":"2016-09-01T00:00:00Z","closed_at":null},"comments":0,"created_at":"2016-08-29T23:48:42Z","updated_at":"2016-08-29T23:48:42Z","closed_at":null,"body":"This method should remove the registered event listener(s) and present a response which indicates it has been de-activated.\r\n"}}
{"actor":{"display_login":"balmas"}}