diff --git a/lib/route-recognizer.js b/lib/route-recognizer.js index ee87a31..03132aa 100644 --- a/lib/route-recognizer.js +++ b/lib/route-recognizer.js @@ -125,10 +125,7 @@ function parse(route, names, specificity, shouldDecodes) { // `x`, irrespective of the other parts. // Because of this similarity, we assign each type of segment a number value written as a // string. We can find the specificity of compound routes by concatenating these strings - // together, from left to right. After we have looped through all of the segments, - // we convert the string to a number. - specificity.val = ''; - + // together, from left to right. for (var i=0; i