Skip to content

Commit

Permalink
fix($urlMatcherFactory): syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
nateabele committed Apr 11, 2014
1 parent 450b1f0 commit 1ebed37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/urlMatcherFactory.js
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ UrlMatcher.prototype.format = function (values) {
}

for (/**/; i < nTotal; i++) {
param = params[i]
param = params[i];
if (values[param] == null) continue;
result += (search ? '&' : '?') + param + '=' + encodeURIComponent(values[param]);
search = true;
Expand All @@ -279,7 +279,7 @@ Type.prototype.encode = function(val, key) {

Type.prototype.decode = function(val, key) {
return val;
}
};

Type.prototype.equals = function(a, b) {
return a == b;
Expand Down

0 comments on commit 1ebed37

Please sign in to comment.