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?

有帮助吗?

解决方案

Just include your dependencies 's before using them in your implementation and then remove the requirejs define()'s.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top