{"issue":{"pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"state":"open","user":{"avatar_url":"https://secure.gravatar.com/avatar/619e5b72160a02e2b79b77a0f281866e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"619e5b72160a02e2b79b77a0f281866e","url":"https://api.github.com/users/erik5388","login":"erik5388","id":183147},"milestone":null,"labels":[],"assignee":null,"updated_at":"2011-10-28T23:39:45Z","closed_at":null,"comments":2,"url":"https://api.github.com/repos/mtrpcic/pathjs/issues/11","body":"``` javascript\r\nvar routes = [\r\n\t\"#/home\",\r\n\t\"#/obstacles\",\r\n\t\"#/obstacles/:id\"\r\n];\r\n\r\nPath.map(routes[2]).to(function(){\r\n\tapp.route(this.path, this.params[\"id\"]);\r\n});\r\n```\r\n\r\nWhen looping through an array of routes, firefox - firebug throws a \r\n\r\n* uncaught exception: Syntax error, unrecognized expression: id\r\n\r\nAny reason why this is happening?","html_url":"https://github.com/mtrpcic/pathjs/issues/11","number":11,"title":"Syntax error, unrecognized expression","id":2084878,"created_at":"2011-10-28T23:32:05Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/4404b2eff76f077ebe78c50c4df6d37f?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"4404b2eff76f077ebe78c50c4df6d37f","url":"https://api.github.com/users/mtrpcic","login":"mtrpcic","id":179818},"updated_at":"2011-10-28T23:39:45Z","url":"https://api.github.com/repos/mtrpcic/pathjs/issues/comments/2562492","body":"Could you provide a complete piece of javascript as a gist and/or pastie with some test routes and I'll take a look immediately.","id":2562492,"created_at":"2011-10-28T23:39:45Z"}}