mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 08:21:15 +03:00
Copy all properties of original moment to wrapped object
This commit is contained in:
parent
6d6d8c66c2
commit
bcca803323
@ -1,6 +1,6 @@
|
||||
var originalMoment = window.moment;
|
||||
|
||||
export default function moment() {
|
||||
function moment() {
|
||||
|
||||
// navigator.language is available in all modern browsers.
|
||||
// however navigator.languages is a new technology that
|
||||
@ -15,4 +15,6 @@ export default function moment() {
|
||||
return originalMoment.apply(this, arguments);
|
||||
}
|
||||
|
||||
_.merge(moment, originalMoment);
|
||||
|
||||
export default moment;
|
||||
|
Loading…
Reference in New Issue
Block a user