-
Notifications
You must be signed in to change notification settings - Fork 20
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
Too many jQuery libraries are loading...... #38
Comments
As I am going to refactor the Boilerplate soon, this a fairly good point.
There is not a simple way to get around it.
Another option for jQuery (which isn't entirely friendly) would be a different widget that is only included for their libraries:
I am going to check with R&D whether or not we can find a viable solution. I'll ask them to join the discussion, as I am not the expert on Dojo build, the process that is used by the Modeler to bundle widgets. |
As I mentioned on the forum topic: we minify widgets during the build step. You should not (and are urged not to) bundle minified libs with your widgets. |
Added options to version 2.0.0 of the widget generator whether or not to include jQuery or not |
There is no way around it, all projects do contain a lot widgets. And many of those widgets have a jQuery Library in them. Within the current design, every widget includes their own version, and quite often not even minimized.
Before a new users session can start, the browser needs to download all of them. With mobile and even sometimes on a desktop this takes longer that patience of its users. This not nice and unnecessary.
The end user will blame Mendix, and Mendix will blame the developer....
We should re-thing the way of using jQuery!
The text was updated successfully, but these errors were encountered: