UNPKG

@ampush/centaurus

Version:

Centaurus, is an Ampush repository designed to house common UI components, JS classes, templates and API methods in a central place that can be imported and reused across other Ampush partner repositories as needed.

10 lines (7 loc) 200 B
var contains = (source, search) => { return source.indexOf(search) !== -1; }; const containsParam = (str) => { return contains(window.location.search, str); }; export default containsParam;