blob: 02a5bd3dac2ffcaced113bb9b2c593d1047a13e8 (
plain) (
tree)
|
|
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;
}
|