1
0
Fork 0
mirror of https://github.com/koalyptus/TableFilter.git synced 2024-05-28 19:42:52 +02:00

Remove commented out code left-over

This commit is contained in:
Max Guglielmi 2016-03-21 09:25:17 +11:00
parent 6cd10dd9bf
commit 209d89582e

View file

@ -50,7 +50,6 @@ export class Hash {
*/
update(state) {
let hash = `#${JSON.stringify(state)}`;
// console.log(hash, this.lastHash, this.lastHash === hash);
if (this.lastHash === hash) {
return;
}
@ -60,7 +59,7 @@ export class Hash {
}
/**
* Converts a URL hash into a JSON object
* Converts a URL hash into a state JSON object
*
* @param {String} hash URL hash fragment
* @returns {Object} JSON object