I think you are referring to vars like
If that's the case you are right those can and probably should move into the functions where they are used.
I have downloaded the 0.6.1 and 0.7.0 version of nodebb from github repository
by using following commands.
and install the NodeBB setup on ubuntu server.
While Running the 0.6.1 we get following errors :
1..Uncaught SyntaxError: Unexpected identifier(anonymous function)(nodebb.min.js:15688)
2..Uncaught Error: Load timeout for modules: csrf,forum/footer
While Running the 0.7.0 we get following errors :
These errors are not related to us but due these error user is not able to login or reply any comments.
Error occurred only on Chrome 43 latest version.
To reproduce issue please clear cache before hitting url or DISABLE cache through "Network" TAB
Please let us know about how to resolved this issue.