{"action":"created","issue":{"url":"https://api.github.com/repos/openlayers/ol3/issues/5542","repository_url":"https://api.github.com/repos/openlayers/ol3","labels_url":"https://api.github.com/repos/openlayers/ol3/issues/5542/labels{/name}","comments_url":"https://api.github.com/repos/openlayers/ol3/issues/5542/comments","events_url":"https://api.github.com/repos/openlayers/ol3/issues/5542/events","html_url":"https://github.com/openlayers/ol3/issues/5542","id":163366420,"number":5542,"title":"Replacing goog.isObject","user":{"login":"probins","id":283514,"avatar_url":"https://avatars.githubusercontent.com/u/283514?v=3","gravatar_id":"","url":"https://api.github.com/users/probins","html_url":"https://github.com/probins","followers_url":"https://api.github.com/users/probins/followers","following_url":"https://api.github.com/users/probins/following{/other_user}","gists_url":"https://api.github.com/users/probins/gists{/gist_id}","starred_url":"https://api.github.com/users/probins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/probins/subscriptions","organizations_url":"https://api.github.com/users/probins/orgs","repos_url":"https://api.github.com/users/probins/repos","events_url":"https://api.github.com/users/probins/events{/privacy}","received_events_url":"https://api.github.com/users/probins/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-07-01T10:23:59Z","updated_at":"2016-07-15T08:23:15Z","closed_at":null,"body":"does:\r\n```\r\nvar type = typeof val;\r\nreturn type == 'object' && val != null || type == 'function';\r\n```\r\nReproduce this (or something similar) as `ol.isObject`?"},"comment":{"url":"https://api.github.com/repos/openlayers/ol3/issues/comments/232892097","html_url":"https://github.com/openlayers/ol3/issues/5542#issuecomment-232892097","issue_url":"https://api.github.com/repos/openlayers/ol3/issues/5542","id":232892097,"user":{"login":"ahocevar","id":211514,"avatar_url":"https://avatars.githubusercontent.com/u/211514?v=3","gravatar_id":"","url":"https://api.github.com/users/ahocevar","html_url":"https://github.com/ahocevar","followers_url":"https://api.github.com/users/ahocevar/followers","following_url":"https://api.github.com/users/ahocevar/following{/other_user}","gists_url":"https://api.github.com/users/ahocevar/gists{/gist_id}","starred_url":"https://api.github.com/users/ahocevar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahocevar/subscriptions","organizations_url":"https://api.github.com/users/ahocevar/orgs","repos_url":"https://api.github.com/users/ahocevar/repos","events_url":"https://api.github.com/users/ahocevar/events{/privacy}","received_events_url":"https://api.github.com/users/ahocevar/received_events","type":"User","site_admin":false},"created_at":"2016-07-15T08:23:15Z","updated_at":"2016-07-15T08:23:15Z","body":"Thinking through this again, I got reminded but `typeof null == 'object'` is true. So it is probably really better to introduce an `ol.isObject` function in `src/ol/objectutil.js`. `goog.isObject` also gives a positive for `typeof obj == 'function'`, but I don't think we need this."}}
{"actor":{"display_login":"ahocevar"}}