Sha256: 058f7e9ba580c4bff3b3b3c2bad19b69d554d1ef01cff01ca9950b194e49af74
Contents?: true
Size: 367 Bytes
Versions: 18
Compression:
Stored size: 367 Bytes
Contents
mumuki.onInputsReady = (() => { // Declares a `document.ready` handler that will be // activated only when there is at least one element that match // the given selector function onInputsReady(inputsSelector, callback) { $(document).ready((event) => { if ($(inputsSelector).length === 0) return; callback(event); }) } return onInputsReady; })();
Version data entries
18 entries across 18 versions & 1 rubygems