V
V
Vladimir B.2015-11-27 14:45:46
JavaScript
Vladimir B., 2015-11-27 14:45:46

How to find out which module/file is loaded in requireJS?

Actually, how in requireJS to find out which module / file was loaded?
That is, an event is needed not when all modules were loaded, but an event for each loaded module from the list.
Is there such a thing at all?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Pavlov, 2015-11-27
@dmitry_pavlov

I don't think so. If you want to track the status of your JS files, you can add some flags to the logic, saying that I loaded and carefully check them. What do you need it for?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question