Skip to content

Commit

Permalink
changes formatting from tabs to spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
izhyvaiev committed Dec 22, 2015
1 parent b1a73c0 commit 64b6489
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions history.ielte7.js
Expand Up @@ -241,12 +241,12 @@
"state": {
get: function() {
if (typeof stateStorage[windowLocation.href] === 'object') {
return JSON.parse(JSON.stringify(stateStorage[windowLocation.href]));
} else if(typeof stateStorage[windowLocation.href] !== 'undefined') {
return stateStorage[windowLocation.href];
} else {
return null;
}
return JSON.parse(JSON.stringify(stateStorage[windowLocation.href]));
} else if(typeof stateStorage[windowLocation.href] !== 'undefined') {
return stateStorage[windowLocation.href];
} else {
return null;
}
}
}
};
Expand Down
12 changes: 6 additions & 6 deletions history.js
Expand Up @@ -241,12 +241,12 @@
"state": {
get: function() {
if (typeof stateStorage[windowLocation.href] === 'object') {
return JSON.parse(JSON.stringify(stateStorage[windowLocation.href]));
} else if(typeof stateStorage[windowLocation.href] !== 'undefined') {
return stateStorage[windowLocation.href];
} else {
return null;
}
return JSON.parse(JSON.stringify(stateStorage[windowLocation.href]));
} else if(typeof stateStorage[windowLocation.href] !== 'undefined') {
return stateStorage[windowLocation.href];
} else {
return null;
}
}
}
};
Expand Down

0 comments on commit 64b6489

Please sign in to comment.