aboutsummaryrefslogtreecommitdiffstats
path: root/library/moment/src/lib/utils/extend.js
diff options
context:
space:
mode:
Diffstat (limited to 'library/moment/src/lib/utils/extend.js')
-rw-r--r--library/moment/src/lib/utils/extend.js19
1 files changed, 0 insertions, 19 deletions
diff --git a/library/moment/src/lib/utils/extend.js b/library/moment/src/lib/utils/extend.js
deleted file mode 100644
index ba74a0bf1..000000000
--- a/library/moment/src/lib/utils/extend.js
+++ /dev/null
@@ -1,19 +0,0 @@
-import hasOwnProp from './has-own-prop';
-
-export default function extend(a, b) {
- for (var i in b) {
- if (hasOwnProp(b, i)) {
- a[i] = b[i];
- }
- }
-
- if (hasOwnProp(b, 'toString')) {
- a.toString = b.toString;
- }
-
- if (hasOwnProp(b, 'valueOf')) {
- a.valueOf = b.valueOf;
- }
-
- return a;
-}