Permalink
Browse files

avoid string concat where possible

  • Loading branch information...
johnbender committed Aug 7, 2012
1 parent 9431d8a commit 651f20e88bd9b63cd313d171090a1c90a7f07ed1
Showing with 3 additions and 2 deletions.
  1. +3 −2 js/jquery.mobile.navigation.js
@@ -65,10 +65,11 @@ define( [
}
if( encodedUserPass ){
encodedUserPass = encodedUserPass + "@";
return uri.protocol + "//" + encodedUserPass + "@" +
uri.host + uri.pathname + uri.search + uri.hash;
}
return uri.protocol + "//" + encodedUserPass + uri.host + uri.pathname + uri.search + uri.hash;
return uri.href;
},
parseLocation: function() {

0 comments on commit 651f20e

Please sign in to comment.