You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if you build requirejs/tests/order/foo.js the output is generated in the wrong order - foo.js is included before all the dependencies. it should be last.
Does this cause a bug? My first instinct is to say the actual result matches the load order in the browser, before a build; foo.js is loaded, then the one, two and three files are loaded. So I would tend to want to preserve the order in which they are loaded in the non-build case, to keep the behavior roughly the same.
now that #53 is fixed - i can see that there is no bug caused by this and your logic makes perfect sense. without the build, the calls to define happen in that same order so it should work and it makes for a good argument that the right/better thing to do is to actually preserve that order.
btw, a general "thanks" for your responsiveness in addressing my issues.
actually... the behavior has changed back to where the module is now included after it's dependencies (my expected output above). there's no bug or problem with that but just wanted to bring it to your attention in case you don't want it to be that way.
if you build requirejs/tests/order/foo.js the output is generated in the wrong order - foo.js is included before all the dependencies. it should be last.
actual:
expected:
The text was updated successfully, but these errors were encountered: