1

I'm on a project that uses many Javascript files containing some jQuery code and a $(document).ready() call in the end. The script tags are included in the page from the server-side code if a feature is needed.

What would be the best way to gradually move to a requirejs-like module system (what I basically need is the declaration of dependencies on the .js file).

How people injected scripts on the page before AMD and CommonJS modules?

1

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.