mtrpcic/pathjs — Issue #11: Syntax error, unrecognized expression
Author: erik5388
Created: 2011-10-28 23:32:05+00:00
State: open

``` javascript
var routes = [
"#/home",
"#/obstacles",
"#/obstacles/:id"
];

Path.map(routes[4]).to(function(){
app.route(this.path, this.params["id"]);
});
```

When looping through an array of routes, firefox - firebug throws a "uncaught exception: Syntax error, unrecognized expression: user_id"

Any reason why this is happening?