Answer the question
In order to leave comments, you need to log in
Why does undef work fine the second time in requirejs?
There is an added custom module described through
define(['custom'], function(){ return { load: function(name, req, onLoad, config){
onLoad.fromText('smth js code');
} }; });
require.undef('custom!smth_module');
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question