I hereby claim:
- I am schonert on github.
- I am sschonert (https://keybase.io/sschonert) on keybase.
- I have a public key ASCR-yLBZDYotuEfXGKVj3CBQzoGYmaEB3Z46Ng68IpcdAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
/** | |
* Get search parameters as an object. | |
* Pasing a key will return the givin value | |
*/ | |
var getSearch = function(key) { | |
var search = location.search.trim().slice(1).split('&'), | |
params = {}; | |
// Split search into an paras obj |
var userScroll = false; | |
function mouseEvent(e) { | |
// Programic scroll has no event | |
if( typeof e === 'object') | |
userScroll = true; | |
else | |
userScroll = false; | |
} |