UNPKG

repetitive

Version:

repetitive.js is a JavaScript library created to perform repetitive tasks. AJAX calls, manipulating DOM classes etc. - all the things you've probably done countless times before - now in a single library. Or not! repetitive.js is modularized - every funct

13 lines (8 loc) 254 B
import ajax from "repetitive.ajax"; import classes from "repetitive.classes"; function rptv(selector){ return [].slice.call(document.querySelectorAll(selector)); }; rptv.ajax = ajax; rptv.classes = classes; export default rptv;