Skip to content

Instantly share code, notes, and snippets.

/**
* jQuery.fastClick.js
*
* Work around some mobile browser's 300ms delay on the click event.
*
* Code based on <http://code.google.com/mobile/articles/fast_buttons.html>
* Warning will break href contained in the element bound
* @usage
* $('button').fastClick(function() { });
*
@ganmor
ganmor / 0_concept.js
Last active September 5, 2015 06:04 — forked from tappleby/0_concept.js
Redux => To web worker
const composedCreateStore = compose(
applyMiddleware(
thunkMiddleware,
dispatchIdMiddleware,
webWorkerMiddleware('/build/worker.js'),
() => promiseMiddleware,
loggerMiddleware
),
createStore
);