{"action":"created","issue":{"url":"https://api.github.com/repos/mobxjs/mobx/issues/502","repository_url":"https://api.github.com/repos/mobxjs/mobx","labels_url":"https://api.github.com/repos/mobxjs/mobx/issues/502/labels{/name}","comments_url":"https://api.github.com/repos/mobxjs/mobx/issues/502/comments","events_url":"https://api.github.com/repos/mobxjs/mobx/issues/502/events","html_url":"https://github.com/mobxjs/mobx/issues/502","id":172464693,"number":502,"title":"extendObservable fails on object, created with Object.create(null)","user":{"login":"Strate","id":392644,"avatar_url":"https://avatars.githubusercontent.com/u/392644?v=3","gravatar_id":"","url":"https://api.github.com/users/Strate","html_url":"https://github.com/Strate","followers_url":"https://api.github.com/users/Strate/followers","following_url":"https://api.github.com/users/Strate/following{/other_user}","gists_url":"https://api.github.com/users/Strate/gists{/gist_id}","starred_url":"https://api.github.com/users/Strate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Strate/subscriptions","organizations_url":"https://api.github.com/users/Strate/orgs","repos_url":"https://api.github.com/users/Strate/repos","events_url":"https://api.github.com/users/Strate/events{/privacy}","received_events_url":"https://api.github.com/users/Strate/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mobxjs/mobx/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-22T14:19:18Z","updated_at":"2016-08-23T07:03:08Z","closed_at":"2016-08-23T07:02:10Z","body":"`extendObservable` fails on object, created with `Object.create(null)` wsith error: \r\n```\r\nTypeError: properties.hasOwnProperty is not a function\r\n      at Object.extendObservableHelper (node_modules/mobx/lib/api/extendobservable.js:30:24)\r\n      at Object.makeChildObservable (node_modules/mobx/lib/types/modifiers.js:124:35)\r\n      at new ObservableValue (node_modules/mobx/lib/types/observablevalue.js:28:34)\r\n      at node_modules/mobx/lib/types/observablemap.js:143:50\r\n```\r\nSeems that lib should use `Object.prototype.hasOwnProperty.call(object, ...)` trick."},"comment":{"url":"https://api.github.com/repos/mobxjs/mobx/issues/comments/241644866","html_url":"https://github.com/mobxjs/mobx/issues/502#issuecomment-241644866","issue_url":"https://api.github.com/repos/mobxjs/mobx/issues/502","id":241644866,"user":{"login":"mweststrate","id":1820292,"avatar_url":"https://avatars.githubusercontent.com/u/1820292?v=3","gravatar_id":"","url":"https://api.github.com/users/mweststrate","html_url":"https://github.com/mweststrate","followers_url":"https://api.github.com/users/mweststrate/followers","following_url":"https://api.github.com/users/mweststrate/following{/other_user}","gists_url":"https://api.github.com/users/mweststrate/gists{/gist_id}","starred_url":"https://api.github.com/users/mweststrate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mweststrate/subscriptions","organizations_url":"https://api.github.com/users/mweststrate/orgs","repos_url":"https://api.github.com/users/mweststrate/repos","events_url":"https://api.github.com/users/mweststrate/events{/privacy}","received_events_url":"https://api.github.com/users/mweststrate/received_events","type":"User","site_admin":false},"created_at":"2016-08-23T07:03:08Z","updated_at":"2016-08-23T07:03:08Z","body":"Thanks! will be fixed in next release "}}
{"actor":{"display_login":"mweststrate"}}