B
B
banonotit2016-01-15 22:46:56
JavaScript
banonotit, 2016-01-15 22:46:56

How to dynamically connect RequireJS modules?

The question, as far as I understand, is quite banal, but my searches have not led me to an answer.
I need to implement dynamic connection of modules. They are not large, but they are the main part of the application. And do not kick that the application logic does not take into account the capabilities of the tools used ... I myself know that I screwed up.
The dance with require.load didn't work.

define(function (require, exports, module){
 // ...
})

also did not work
. If there are any hacks, then please tell me or direct me in the right direction.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question