removed unnecessary var declaration

This commit is contained in:
John Bender 2011-02-16 19:55:01 -08:00
parent 9aa1a38a32
commit 61b7b2e002

View file

@ -135,13 +135,13 @@
isPageTransitioning = false,
//nonsense hash change key for dialogs, so they create a history entry
dialogHashKey = "&ui-state=dialog";
dialogHashKey = "&ui-state=dialog",
//existing base tag?
var $base = $head.children("base"),
hostURL = location.protocol + '//' + location.host,
docLocation = path.get( hostURL + location.pathname ),
docBase = docLocation;
$base = $head.children("base"),
hostURL = location.protocol + '//' + location.host,
docLocation = path.get( hostURL + location.pathname ),
docBase = docLocation;
if ($base.length){
var href = $base.attr("href");