{"action":"created","issue":{"url":"https://api.github.com/repos/emberjs/ember.js/issues/10800","labels_url":"https://api.github.com/repos/emberjs/ember.js/issues/10800/labels{/name}","comments_url":"https://api.github.com/repos/emberjs/ember.js/issues/10800/comments","events_url":"https://api.github.com/repos/emberjs/ember.js/issues/10800/events","html_url":"https://github.com/emberjs/ember.js/issues/10800","id":65770771,"number":10800,"title":"Scheduling a method that is `undefined` should throw","user":{"login":"jclem","id":412282,"avatar_url":"https://avatars.githubusercontent.com/u/412282?v=3","gravatar_id":"","url":"https://api.github.com/users/jclem","html_url":"https://github.com/jclem","followers_url":"https://api.github.com/users/jclem/followers","following_url":"https://api.github.com/users/jclem/following{/other_user}","gists_url":"https://api.github.com/users/jclem/gists{/gist_id}","starred_url":"https://api.github.com/users/jclem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jclem/subscriptions","organizations_url":"https://api.github.com/users/jclem/orgs","repos_url":"https://api.github.com/users/jclem/repos","events_url":"https://api.github.com/users/jclem/events{/privacy}","received_events_url":"https://api.github.com/users/jclem/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/emberjs/ember.js/labels/Good%20for%20New%20Contributors","name":"Good for New Contributors","color":"abcdef"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-01T20:17:49Z","updated_at":"2015-07-08T08:47:28Z","closed_at":null,"body":"If I do this:\r\n\r\n```javascript\r\nEmber.run(() => {\r\n  Ember.run.schedule('afterRender', this, 'someMethod');\r\n});\r\n```\r\n\r\nAnd `this.someMethod` is undefined, Ember should probably throw when the method is scheduled. I think an assert is warranted here, probably. Note that even when the scheduled method is called, there's no error or warning."},"comment":{"url":"https://api.github.com/repos/emberjs/ember.js/issues/comments/119501375","html_url":"https://github.com/emberjs/ember.js/issues/10800#issuecomment-119501375","issue_url":"https://api.github.com/repos/emberjs/ember.js/issues/10800","id":119501375,"user":{"login":"stefanpenner","id":1377,"avatar_url":"https://avatars.githubusercontent.com/u/1377?v=3","gravatar_id":"","url":"https://api.github.com/users/stefanpenner","html_url":"https://github.com/stefanpenner","followers_url":"https://api.github.com/users/stefanpenner/followers","following_url":"https://api.github.com/users/stefanpenner/following{/other_user}","gists_url":"https://api.github.com/users/stefanpenner/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanpenner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanpenner/subscriptions","organizations_url":"https://api.github.com/users/stefanpenner/orgs","repos_url":"https://api.github.com/users/stefanpenner/repos","events_url":"https://api.github.com/users/stefanpenner/events{/privacy}","received_events_url":"https://api.github.com/users/stefanpenner/received_events","type":"User","site_admin":false},"created_at":"2015-07-08T08:47:28Z","updated_at":"2015-07-08T08:47:28Z","body":"i don't believe the BB update is sync'd over."}}