A wrapper around the BlockUI jQuery plugin to block the UI while a function is running. If the wrapped function returns a promise, the UI will be blocked until the promise is resolved.
npm install --save uiblocker
var uiblocker = require('uiblocker');
var blockedFunction = uiblocker.makeBlocked(fn);
Based on code developed for GreatVines Mobile.
UI Blocking done by Mike Alsup's code.