Open Devrao opened 10 years ago
Please replace views/web/signUp.js
with a dummy function and post the unoptimized version (optimize: 'none'
) of your r.js output.
P.S.: please use code markup using js or at least
, it's really hard to read your issue
Thanks ooxi. The code I posted is unpotimized only.
Added code markup, hope you can understand issue better now.
@Devrao I suppose the code you posted is from your main.js
. Could you also post signUp.js
? Maybe also the r.js console log.
I have created a single page application having multiple modules in it using requirejs and backbonejs combination.
I have used r.js to optimize js files. My build.js for optimization looks like
I am optimizing the code into two modules
But my code fails at the following point.
signUp.js get loaded into my DOM, but I get SignUpView as undefined. Where as it works in non-optimized version very well.
I have done some workaround for now I have modified my code as follow and it worked for me.
Please suggest the changes that I need to do.
Thanks, Devrao