Browse files

love me some semicolons

  • Loading branch information...
1 parent d5393bf commit 14a9d2f39e578db18fcd151d5b7193fc0d335b4a @mokolabs committed May 7, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 public/javascripts/logic.js
View
4 public/javascripts/logic.js
@@ -80,14 +80,14 @@ if (Get_Cookie('mobile2') == 'true' || location.href.match(/mobile=force/i) == '
var matcher = "/" + segment[1] + "/" + segment[2];
if (matcher == val.route.inbound) {
match = "Match found (bmi.com" + val.route.inbound + " ----> /mobile" + val.route.outbound + ")";
- redirect = val.route.outbound + "/" + segment[3]
+ redirect = val.route.outbound + "/" + segment[3];
}
break;
case 2:
var matcher = "/" + segment[1];
if (matcher == val.route.inbound) {
match = "Match found (bmi.com" + val.route.inbound + " ----> /mobile" + val.route.outbound + ")";
- redirect = val.route.outbound + "/" + segment[2]
+ redirect = val.route.outbound + "/" + segment[2];
}
break;
default:

0 comments on commit 14a9d2f

Please sign in to comment.