Closed schester44 closed 6 years ago
Thanks!
@urish Can you publish a new version to npm with this change included?
Done!
This is broken. I am getting this error now "Cannot set property 'moment' of undefined" . Please fix. Thank you.
@prakriti-netlight have you checked to see if window.moment or global.moment exists?
It is possible for the global object to exist but global.moment to not exist which results in
Error: Moment cannot by found by angular-moment!
This happens in edge cases such as when using QtWebKit where a global object is defined but global.moment is undefined. Because of this, when calling the global instance of moment, we need to add an additional
global.moment
check to ensure it actually exists.