{"action":"opened","issue":{"url":"https://api.github.com/repos/ariya/phantomjs/issues/13107","labels_url":"https://api.github.com/repos/ariya/phantomjs/issues/13107/labels{/name}","comments_url":"https://api.github.com/repos/ariya/phantomjs/issues/13107/comments","events_url":"https://api.github.com/repos/ariya/phantomjs/issues/13107/events","html_url":"https://github.com/ariya/phantomjs/issues/13107","id":64364224,"number":13107,"title":"function.bind() not working","user":{"login":"masi","id":690355,"avatar_url":"https://avatars.githubusercontent.com/u/690355?v=3","gravatar_id":"","url":"https://api.github.com/users/masi","html_url":"https://github.com/masi","followers_url":"https://api.github.com/users/masi/followers","following_url":"https://api.github.com/users/masi/following{/other_user}","gists_url":"https://api.github.com/users/masi/gists{/gist_id}","starred_url":"https://api.github.com/users/masi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masi/subscriptions","organizations_url":"https://api.github.com/users/masi/orgs","repos_url":"https://api.github.com/users/masi/repos","events_url":"https://api.github.com/users/masi/events{/privacy}","received_events_url":"https://api.github.com/users/masi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-25T20:21:39Z","updated_at":"2015-03-25T20:21:39Z","closed_at":null,"body":"var foobar = function() {\r\n // ...\r\n}\r\nfoobar.bind(baz)\r\n\r\nI get an error in PhantomJS 1.9.7 (Windows 7, 64bit):\r\n\r\nTypeError: 'undefined' is not a function (evaluating 'foobar.bind()')\r\n\r\nSeems to work in 2.0.0 though.\r\n"}}