{"action":"created","issue":{"url":"https://api.github.com/repos/openlayers/ol3/issues/4050","labels_url":"https://api.github.com/repos/openlayers/ol3/issues/4050/labels{/name}","comments_url":"https://api.github.com/repos/openlayers/ol3/issues/4050/comments","events_url":"https://api.github.com/repos/openlayers/ol3/issues/4050/events","html_url":"https://github.com/openlayers/ol3/pull/4050","id":103244485,"number":4050,"title":"Use view.getRotation and view.getResolution instead of view.getState","user":{"login":"fredj","id":100959,"avatar_url":"https://avatars.githubusercontent.com/u/100959?v=3","gravatar_id":"","url":"https://api.github.com/users/fredj","html_url":"https://github.com/fredj","followers_url":"https://api.github.com/users/fredj/followers","following_url":"https://api.github.com/users/fredj/following{/other_user}","gists_url":"https://api.github.com/users/fredj/gists{/gist_id}","starred_url":"https://api.github.com/users/fredj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fredj/subscriptions","organizations_url":"https://api.github.com/users/fredj/orgs","repos_url":"https://api.github.com/users/fredj/repos","events_url":"https://api.github.com/users/fredj/events{/privacy}","received_events_url":"https://api.github.com/users/fredj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-26T11:39:10Z","updated_at":"2015-08-26T11:42:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openlayers/ol3/pulls/4050","html_url":"https://github.com/openlayers/ol3/pull/4050","diff_url":"https://github.com/openlayers/ol3/pull/4050.diff","patch_url":"https://github.com/openlayers/ol3/pull/4050.patch"},"body":"view.getState calls 4 functions and creates an object and an array.\r\nIt's more efficient to use view.getRotation and view.getResolution."},"comment":{"url":"https://api.github.com/repos/openlayers/ol3/issues/comments/134958634","html_url":"https://github.com/openlayers/ol3/pull/4050#issuecomment-134958634","issue_url":"https://api.github.com/repos/openlayers/ol3/issues/4050","id":134958634,"user":{"login":"bartvde","id":319678,"avatar_url":"https://avatars.githubusercontent.com/u/319678?v=3","gravatar_id":"","url":"https://api.github.com/users/bartvde","html_url":"https://github.com/bartvde","followers_url":"https://api.github.com/users/bartvde/followers","following_url":"https://api.github.com/users/bartvde/following{/other_user}","gists_url":"https://api.github.com/users/bartvde/gists{/gist_id}","starred_url":"https://api.github.com/users/bartvde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartvde/subscriptions","organizations_url":"https://api.github.com/users/bartvde/orgs","repos_url":"https://api.github.com/users/bartvde/repos","events_url":"https://api.github.com/users/bartvde/events{/privacy}","received_events_url":"https://api.github.com/users/bartvde/received_events","type":"User","site_admin":false},"created_at":"2015-08-26T11:42:20Z","updated_at":"2015-08-26T11:42:20Z","body":"Nice catch, LGTM"}}