1
0
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:
Joe Fiorini 2015-06-01 16:45:13 -04:00
parent 6d6d8c66c2
commit bcca803323

View File

@ -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;