Thank you, I will write some background info first.
I am creating an application that uses server side technology for creating the views. So I have created a master template that other pages is included into.
Now, I have some JavaScript code that I need to have on ALL pages, and then I have some JavaScript that I only need on a particular page.
However I am having trouble managing this with RequireJS.
So even though the script tag of myapp/about is added first, then query with friends. it should not matter since it executes it in the same order as the dependency list?