Fix some JSHint complaints
This commit is contained in:
parent
6671a934bf
commit
1596713871
22 changed files with 96 additions and 93 deletions
|
@ -86,7 +86,7 @@ OSM.Router = function(map, rts) {
|
|||
|
||||
var routes = [];
|
||||
for (var r in rts)
|
||||
routes.push(Route(r, rts[r]));
|
||||
routes.push(new Route(r, rts[r]));
|
||||
|
||||
routes.recognize = function(path) {
|
||||
for (var i = 0; i < this.length; i++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue