1
0
Fork 0
mirror of https://github.com/koalyptus/TableFilter.git synced 2024-06-02 14:02:31 +02:00
TableFilter/src/modules
Archis Gore fb2f201f29 URL Encode State Hash
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.
2016-08-22 09:31:03 -07:00
..
alternateRows.js Added comments to PopupFilter for auto-generated documentation 2016-08-04 15:40:02 +10:00
checkList.js Continued TableFilter 2016-08-14 14:14:52 +10:00
clearButton.js Added comments to PopupFilter for auto-generated documentation 2016-08-04 15:40:02 +10:00
dropdown.js Continued TableFilter 2016-08-14 14:14:52 +10:00
gridLayout.js Continued TableFilter 2016-08-14 14:14:52 +10:00
hash.js URL Encode State Hash 2016-08-22 09:31:03 -07:00
help.js Added comments for doco to HightlightKeyword and Loader 2016-07-27 17:21:30 +10:00
highlightKeywords.js Added comments for doco to HightlightKeyword and Loader 2016-07-27 17:21:30 +10:00
loader.js Added comments to PopupFilter for auto-generated documentation 2016-08-04 15:40:02 +10:00
noResults.js Added comments to paging 2016-07-31 21:49:38 +10:00
paging.js Added comments to PopupFilter for auto-generated documentation 2016-08-04 15:40:02 +10:00
popupFilter.js Shortened PopupFilter properties names 2016-08-04 16:11:19 +10:00
rowsCounter.js Added comments to StatusBar for auto-generated documentation 2016-08-07 00:48:00 +10:00
state.js Added comments to State for auto-generated documentation 2016-08-06 19:46:26 +10:00
statusBar.js Added comments to StatusBar for auto-generated documentation 2016-08-07 00:48:00 +10:00
storage.js Added comments to Storage for auto-generated documentation 2016-08-08 17:22:25 +10:00