Just include your dependencies 's before using them in your implementation and then remove the requirejs define()'s.
How to convert requirejs script to nomal javascript?
-
14-04-2022 - |
Pergunta
How can I convert a script did based in requirejs to a normal javascript code? for example:
define("anything",['anything'], function(anything){
//code
});
how it will be in normal javascript code, without requirejs? Have a form to convert it simple?
Solução
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow