@tdb/web
Version:
Common condiguration for serving a web-site and testing web-based UI components.
14 lines (10 loc) • 298 B
JavaScript
export { hooks, setHookCallback };
var hookCallback;
function hooks () {
return hookCallback.apply(null, arguments);
}
// This is done to register the method called with moment()
// without creating circular dependencies.
function setHookCallback (callback) {
hookCallback = callback;
}