UNPKG

create-expo-cljs-app

Version:

Create a react native application with Expo and Shadow-CLJS!

21 lines (18 loc) 416 B
export function bindUse(jsJoda) { const used = []; /** * use * * Provides a way to extend the internals of js-joda * * @param {function} fn - function to extend js-joda public api * @returns {this} for chaining */ return function use(fn) { if (!~used.indexOf(fn)) { fn(jsJoda); used.push(fn); } return jsJoda; }; }