-
-
Notifications
You must be signed in to change notification settings - Fork 226
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
Make implicit dependencies in lib/*.exec.js explicit. #227
Comments
The reasons for not publishing to npm are just missing skill and time. If I include it like this, 'const draw2d = required("draw2d");`, draw2d isn't globally available, which I need. In this case, there is no benefit for me to build an npm package. |
couldn't you just do window.draw2d=await import('draw2d');? |
I have tested this in the past, which unfortunately does not work. I do not know why, but other components do not see "draw2d" after using this. |
I seen there has been 3 years of updates here in the git repo but not on npm... why?
There are implicit dependencies on the /lib/ directory the '.exec.js' convert them into CJS or ES6 so that they can be used as modules inside the code,
that is jQuery, Raphael, Class, and import/require them everytime they're used.
Makes code clearer, easier to read, and more modular.
The text was updated successfully, but these errors were encountered: