Quantcast
Channel: Training diary calendar - Code Review Stack Exchange
Browsing all 2 articles
Browse latest View live

Answer by Eric Bréchemier for Training diary calendar

You should use the JavaScript Module Pattern to create a private scope for your function declarations:// Directives for JSLint/*global console, prompt, $ */ // declaration of global variables...

View Article



Training diary calendar

I often use jQuery plugins for front-end functionality in web applications. This requires me to write code like this, where I am assigning a function to an object property:var trainingDiary =...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images