Class javascript with closures patterns.
class = new Class();
var class = new Class();
class.init();
class.update();
var class = new Class();
// run class init
class.init();
// get private propertie and unique to class instance
var privateUnique = class.getPrivateUnique();
// get private propertie and common to all class instance
var privateCommon = class.getPrivateCommon();
Some snippets to use with visual studio code with shortcuts classures
and classureswithcoffeescript