↧
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 ArticleTraining 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