Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

umd not working in browser #858

Open
wiryonolau opened this issue Apr 17, 2023 · 0 comments
Open

umd not working in browser #858

wiryonolau opened this issue Apr 17, 2023 · 0 comments

Comments

@wiryonolau
Copy link

I'm Submitting a ...

[x] Bug report
[ ] Feature request
[ ] Support request

Steps to Reproduce

<html>
<head>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/react-datetime/3.2.0/css/react-datetime.css"
        integrity="sha512-2CReJcoiloeI8UXwx+i77n0DH9iCYZ+ukWTyaKNto9ItKbcDeEeJvxZIOD4V1qtfKAYvHEgl/X8pg28aTjbtYw=="
        crossorigin="anonymous" referrerpolicy="no-referrer" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/react-datetime/3.2.0/react-datetime.umd.js" integrity="sha512-AUzoePeNHdNI6DOiPPMwuORDrCkd1XCtAn8lcedJn9J0fPk8Eon/WKwhfUuKXtJ1zvqQJnzZgElDM58ZANKGjA==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
</head>
</html>

Expected Results

No console error

Actual Results

Uncaught TypeError: c.a is undefined
    <anonymous> DaysView.js:4
    Webpack 7
        n
        <anonymous>
        n
        <anonymous>
        <anonymous>
        <anonymous>
        <anonymous>
[DaysView.js:4:29](webpack://Datetime/src/views/DaysView.js)

Minimal Reproduction of the Problem

Other Information (e.g. stacktraces, related issues, suggestions how to fix)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant