aboutsummaryrefslogtreecommitdiffstats
path: root/library/moment/src/lib/utils/hooks.js
diff options
context:
space:
mode:
Diffstat (limited to 'library/moment/src/lib/utils/hooks.js')
-rw-r--r--library/moment/src/lib/utils/hooks.js13
1 files changed, 0 insertions, 13 deletions
diff --git a/library/moment/src/lib/utils/hooks.js b/library/moment/src/lib/utils/hooks.js
deleted file mode 100644
index 02a5bd3da..000000000
--- a/library/moment/src/lib/utils/hooks.js
+++ /dev/null
@@ -1,13 +0,0 @@
-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;
-}