mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Make accidental global assignments local.
This commit is contained in:
@@ -28,8 +28,8 @@ function attemptToMatchHash(accounts, hash, success) {
|
||||
_.each(accountsPaths, function (urlPart) {
|
||||
var token;
|
||||
|
||||
tokenRegex = new RegExp("^\\#\\/" + urlPart + "\\/(.*)$");
|
||||
match = hash.match(tokenRegex);
|
||||
var tokenRegex = new RegExp("^\\#\\/" + urlPart + "\\/(.*)$");
|
||||
var match = hash.match(tokenRegex);
|
||||
|
||||
if (match) {
|
||||
token = match[1];
|
||||
|
||||
Reference in New Issue
Block a user