- Notifications
You must be signed in to change notification settings - Fork244
Open
Description
Hello,
I have some trouble importing jqueries-ui submodules through RequireJS/AMD process.
In a js file called "assets/views/file.js" I defined:define(["require", "exports", "views/some_other_file", "jquery-ui/widgets/droppable"], ...
I also defined in top of my code:
require.config({ baseUrl: '/assets/'});
But when loading my page, requireJS returns a 404 error on "version", "draggable", "mouse", "widget", which droppable depends on.
Apparently it seems that the path is actually defined relativly and requireJS is requiring those files into "assets/views/" instead of "assets/jquery-ui[/widgets]".
What do you think?
Thanks,
Flavien
Metadata
Metadata
Assignees
Labels
No labels