Skip to content

Commit

Permalink
Merge branch 'master' into network-first
Browse files Browse the repository at this point in the history
  • Loading branch information
wibblymat committed Mar 2, 2016
2 parents d354a7b + 5c05603 commit 32171af
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ Router.prototype._match = function(method, methodMaps, pathOrUrl) {

for (var i = 0; i < methodMaps.length; i++) {
var methodMap = methodMaps[i];
var routeMap = methodMap.get(method.toLowerCase());
var routeMap = methodMap && methodMap.get(method.toLowerCase());
if (routeMap) {
var routes = keyMatch(routeMap, pathOrUrl);
if (routes.length > 0) {
Expand Down
2 changes: 1 addition & 1 deletion sw-toolbox.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sw-toolbox.map.json

Large diffs are not rendered by default.

0 comments on commit 32171af

Please sign in to comment.