{"action":"created","issue":{"url":"https://api.github.com/repos/rjrodger/seneca/issues/97","labels_url":"https://api.github.com/repos/rjrodger/seneca/issues/97/labels{/name}","comments_url":"https://api.github.com/repos/rjrodger/seneca/issues/97/comments","events_url":"https://api.github.com/repos/rjrodger/seneca/issues/97/events","html_url":"https://github.com/rjrodger/seneca/pull/97","id":55353521,"number":97,"title":"bugfix - latest v8 strict mode enforcements","user":{"login":"davidmarkclements","id":1190716,"avatar_url":"https://avatars.githubusercontent.com/u/1190716?v=3","gravatar_id":"","url":"https://api.github.com/users/davidmarkclements","html_url":"https://github.com/davidmarkclements","followers_url":"https://api.github.com/users/davidmarkclements/followers","following_url":"https://api.github.com/users/davidmarkclements/following{/other_user}","gists_url":"https://api.github.com/users/davidmarkclements/gists{/gist_id}","starred_url":"https://api.github.com/users/davidmarkclements/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidmarkclements/subscriptions","organizations_url":"https://api.github.com/users/davidmarkclements/orgs","repos_url":"https://api.github.com/users/davidmarkclements/repos","events_url":"https://api.github.com/users/davidmarkclements/events{/privacy}","received_events_url":"https://api.github.com/users/davidmarkclements/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-24T01:27:11Z","updated_at":"2015-01-26T18:52:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rjrodger/seneca/pulls/97","html_url":"https://github.com/rjrodger/seneca/pull/97","diff_url":"https://github.com/rjrodger/seneca/pull/97.diff","patch_url":"https://github.com/rjrodger/seneca/pull/97.patch"},"body":"strict mode doesn't allow the setting of read only property, this is enforced in later v8\r\nwhen the handler variable is a string, setting handler.routestr will throw a TypeError in\r\nlater v8 implementations (e.g. io.js). \r\n\r\nChecking that handler is instanceof Object covers functions arrays objects etc, but excludes string and number primitives"},"comment":{"url":"https://api.github.com/repos/rjrodger/seneca/issues/comments/71515122","html_url":"https://github.com/rjrodger/seneca/pull/97#issuecomment-71515122","issue_url":"https://api.github.com/repos/rjrodger/seneca/issues/97","id":71515122,"user":{"login":"rjrodger","id":138608,"avatar_url":"https://avatars.githubusercontent.com/u/138608?v=3","gravatar_id":"","url":"https://api.github.com/users/rjrodger","html_url":"https://github.com/rjrodger","followers_url":"https://api.github.com/users/rjrodger/followers","following_url":"https://api.github.com/users/rjrodger/following{/other_user}","gists_url":"https://api.github.com/users/rjrodger/gists{/gist_id}","starred_url":"https://api.github.com/users/rjrodger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjrodger/subscriptions","organizations_url":"https://api.github.com/users/rjrodger/orgs","repos_url":"https://api.github.com/users/rjrodger/repos","events_url":"https://api.github.com/users/rjrodger/events{/privacy}","received_events_url":"https://api.github.com/users/rjrodger/received_events","type":"User","site_admin":false},"created_at":"2015-01-26T18:52:56Z","updated_at":"2015-01-26T18:52:56Z","body":"so tried this in iojs and the original code still seemed to work :)\r\ndefinitely broken in 0.11\r\nany thoughts?"}}