once
Simple module that allows calling a function once until it's done
npm
npm install oncejs
bower
bower install once
usage
Using axios (third-party) as http library.
//...var once = axios = ; var sendRequest = ; document;
Multiple clicks on #button won't result in new http requests unless the started request has been resolved.
license
MIT. Copyright (c) 2017 Isaac Ferreira (zaclummys)