{"action":"created","issue":{"url":"https://api.github.com/repos/NativeScript/NativeScript/issues/970","labels_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/970/labels{/name}","comments_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/970/comments","events_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/970/events","html_url":"https://github.com/NativeScript/NativeScript/pull/970","id":112556461,"number":970,"title":"Fixed two propertyChange event notifications.","user":{"login":"nsndeck","id":5665150,"avatar_url":"https://avatars.githubusercontent.com/u/5665150?v=3","gravatar_id":"","url":"https://api.github.com/users/nsndeck","html_url":"https://github.com/nsndeck","followers_url":"https://api.github.com/users/nsndeck/followers","following_url":"https://api.github.com/users/nsndeck/following{/other_user}","gists_url":"https://api.github.com/users/nsndeck/gists{/gist_id}","starred_url":"https://api.github.com/users/nsndeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nsndeck/subscriptions","organizations_url":"https://api.github.com/users/nsndeck/orgs","repos_url":"https://api.github.com/users/nsndeck/repos","events_url":"https://api.github.com/users/nsndeck/events{/privacy}","received_events_url":"https://api.github.com/users/nsndeck/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NativeScript/NativeScript/labels/cla:%20yes","name":"cla: yes","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-10-21T10:20:21Z","updated_at":"2015-11-24T15:43:28Z","closed_at":"2015-10-21T13:39:38Z","pull_request":{"url":"https://api.github.com/repos/NativeScript/NativeScript/pulls/970","html_url":"https://github.com/NativeScript/NativeScript/pull/970","diff_url":"https://github.com/NativeScript/NativeScript/pull/970.diff","patch_url":"https://github.com/NativeScript/NativeScript/pull/970.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/NativeScript/NativeScript/issues/comments/159308540","html_url":"https://github.com/NativeScript/NativeScript/pull/970#issuecomment-159308540","issue_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/970","id":159308540,"user":{"login":"rclai","id":1316261,"avatar_url":"https://avatars.githubusercontent.com/u/1316261?v=3","gravatar_id":"","url":"https://api.github.com/users/rclai","html_url":"https://github.com/rclai","followers_url":"https://api.github.com/users/rclai/followers","following_url":"https://api.github.com/users/rclai/following{/other_user}","gists_url":"https://api.github.com/users/rclai/gists{/gist_id}","starred_url":"https://api.github.com/users/rclai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rclai/subscriptions","organizations_url":"https://api.github.com/users/rclai/orgs","repos_url":"https://api.github.com/users/rclai/repos","events_url":"https://api.github.com/users/rclai/events{/privacy}","received_events_url":"https://api.github.com/users/rclai/received_events","type":"User","site_admin":false},"created_at":"2015-11-24T15:43:27Z","updated_at":"2015-11-24T15:43:27Z","body":"@nsndeck @vakrilov , this broke a functionality of mine where I have a setter that emits multiple `notifyPropertyChange` for different non-persistent fields:\r\n\r\n```js\r\nObject.defineProperty(deviceViewModel.prototype, \"myfield\", {\r\n  get: function () {\r\n    return this._myfield;\r\n  },\r\n  set: function (value) {\r\n    if (this._myfield !== value) {\r\n      this._myfield = value;\r\n      this.notifyPropertyChange(\"field2\", value);\r\n      this.notifyPropertyChange(\"field3\", value);\r\n      this.notifyPropertyChange(\"field4\", value);\r\n    }\r\n  },\r\n  enumerable: true,\r\n  configurable: true\r\n});\r\n```\r\n\r\nBecause of `disableNotifications`, those notifications that I'm doing inside the setter will not work."}}