Fix typo in comment and remove console.log leftover from debugging

This commit is contained in:
Steven Hammerton 2015-10-12 17:41:56 +01:00
parent b5357d3298
commit 293ee1bbcb
1 changed files with 1 additions and 2 deletions

View File

@ -27,11 +27,10 @@ var lastLocationHashSet = null;
// We want to support some name / value pairs in the fragment // We want to support some name / value pairs in the fragment
// so we're re-using query string ike format // so we're re-using query string like format
function parseQsFromFragment(location) { function parseQsFromFragment(location) {
var hashparts = location.hash.split('?'); var hashparts = location.hash.split('?');
if (hashparts.length > 1) { if (hashparts.length > 1) {
console.log(qs.parse(hashparts[1]));
return qs.parse(hashparts[1]); return qs.parse(hashparts[1]);
} }
return {}; return {};