mirror of
https://github.com/koalyptus/TableFilter.git
synced 2024-06-18 13:45:08 +02:00
You'll notice a mild asymmetry in how hash was saved vs retrieved. The retrieval was: JSON.parse(decodeUrlComponent(hash)) The save was: JSON.stringify(hash) I modified it to: JSON.stringify(encodeUrlComponent(hash)) The reason I noticed this is in one of my apps, I wanted to be able to copy/share a stateful filter URL. However without the url encoding, those auto-parsers of URLs were missing the full filter. TESTING CONDUCTED: 1. Updated the Hash unit tests to both parse the encoded string, as well as generate it. 2. Ran "grunt", which has built/tested/jslinted the code.
6 lines
294 B
CSS
6 lines
294 B
CSS
/**
|
|
* tablefilter v0.2.56 by Max Guglielmi
|
|
* build date: 2016-08-22T16:27:40.716Z
|
|
* MIT License
|
|
*/
|
|
span.expClpFlt a.btnExpClpFlt{width:35px;height:35px;display:inline-block;}span.expClpFlt a.btnExpClpFlt:hover{background-color:#f4f4f4}span.expClpFlt img{padding:8px 11px 11px 11px} |