The javascript guru call there. Basically, my question is how you structure your code, both visually and for functionality, for example, you wrap all objects with this structure:
var myapp={ binds:function(){
Then finally
$(document).ready(myapp.init);
The point is this structure, I think JSLint is complaining, right? What are the pros and cons of using such a structure, or is there a better way to structure your code? You follow a specific pattern from $(document).ready(call) to accommodate all event listeners and to “initialize” your application, do you use separate objects for methods and variables?
I also think “visually” if you have a very big webapp, this structure in the end looks very dirty, but maybe it's just me, I don’t know, any input is welcome.
javascript jquery html5
quiggle
source share