Quantcast
Browsing latest articles
Browse All 2 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 latest articles
Browse All 2 View Live