RequireJS and Page Loading via ajax

2

Hello, someone has some example of using the requirejs with pages that have been loaded via ajax.

My question is how to organize the code so that when the page is reloaded via ajax the elements are handled by jquery codes. Without the requirejs when I load a page via ajax (jquery) in oncomplete I call a function to manipulate the page. However, there are jquery that need to be loaded.

I'm wanting to use requirejs to organize the code efficiently.

    
asked by anonymous 21.03.2016 / 13:35

0 answers