{"action":"created","issue":{"url":"https://api.github.com/repos/emberjs/ember.js/issues/14578","repository_url":"https://api.github.com/repos/emberjs/ember.js","labels_url":"https://api.github.com/repos/emberjs/ember.js/issues/14578/labels{/name}","comments_url":"https://api.github.com/repos/emberjs/ember.js/issues/14578/comments","events_url":"https://api.github.com/repos/emberjs/ember.js/issues/14578/events","html_url":"https://github.com/emberjs/ember.js/issues/14578","id":187511972,"number":14578,"title":"Ember Computed with Math.abs()","user":{"login":"JackEllis","id":537943,"avatar_url":"https://avatars.githubusercontent.com/u/537943?v=3","gravatar_id":"","url":"https://api.github.com/users/JackEllis","html_url":"https://github.com/JackEllis","followers_url":"https://api.github.com/users/JackEllis/followers","following_url":"https://api.github.com/users/JackEllis/following{/other_user}","gists_url":"https://api.github.com/users/JackEllis/gists{/gist_id}","starred_url":"https://api.github.com/users/JackEllis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JackEllis/subscriptions","organizations_url":"https://api.github.com/users/JackEllis/orgs","repos_url":"https://api.github.com/users/JackEllis/repos","events_url":"https://api.github.com/users/JackEllis/events{/privacy}","received_events_url":"https://api.github.com/users/JackEllis/received_events","type":"User","site_admin":false},"labels":[{"id":169770646,"url":"https://api.github.com/repos/emberjs/ember.js/labels/Needs%20Submitter%20Response","name":"Needs Submitter Response","color":"eb6420","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-11-05T17:46:47Z","updated_at":"2016-11-05T18:11:44Z","closed_at":"2016-11-05T18:11:44Z","body":"I've tried 3 times to create a http://emberjs.jsbin.com/ but whenever I tried to find a way to save it, it emptied my code.\r\n\r\nLong story short, doing this:\r\n```js\r\nvar TestObject = Ember.Object.extend({\r\n    abs: Ember.computed('a', 'b', function() {\r\n        return Math.abs(this.get('a'), this.get('b'));\r\n    })\r\n});\r\n```\r\n\r\nthen doing \r\n\r\n```js\r\nTestObject.create({\r\n    a: 4,\r\n    b: 5\r\n});\r\n```\r\n\r\nAnd binding them to an `{{input value=testObjectInstance.a}}` and `{{input value=testObjectInstance.b}}`\r\n\r\n[edit: formatting]\r\n\r\nThe computed property fires correctly when both a & b are updated, but the return value does not change when b is changed.\r\n\r\nI may be overlooking something obvious but I wanted to create a ticket in case it's a bug... Also, I'm happy to create it on Ember JS Bin if somebody can tell me how to save ;)"},"comment":{"url":"https://api.github.com/repos/emberjs/ember.js/issues/comments/258630663","html_url":"https://github.com/emberjs/ember.js/issues/14578#issuecomment-258630663","issue_url":"https://api.github.com/repos/emberjs/ember.js/issues/14578","id":258630663,"user":{"login":"JackEllis","id":537943,"avatar_url":"https://avatars.githubusercontent.com/u/537943?v=3","gravatar_id":"","url":"https://api.github.com/users/JackEllis","html_url":"https://github.com/JackEllis","followers_url":"https://api.github.com/users/JackEllis/followers","following_url":"https://api.github.com/users/JackEllis/following{/other_user}","gists_url":"https://api.github.com/users/JackEllis/gists{/gist_id}","starred_url":"https://api.github.com/users/JackEllis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JackEllis/subscriptions","organizations_url":"https://api.github.com/users/JackEllis/orgs","repos_url":"https://api.github.com/users/JackEllis/repos","events_url":"https://api.github.com/users/JackEllis/events{/privacy}","received_events_url":"https://api.github.com/users/JackEllis/received_events","type":"User","site_admin":false},"created_at":"2016-11-05T18:11:44Z","updated_at":"2016-11-05T18:11:44Z","body":"@stefanpenner Heh, sorry to waste your time, I had put a comma instead of a -. \r\n\r\nApparently I need a break from coding & a cup of coffee, DOH."}}
{"actor":{"display_login":"JackEllis"}}