/** * --------------------------- * Client: ${1:client-name} * URL: ${2:client-url} * Author: ${3:author-name} * * --------------------------- */ /** * General namespace */ var ${4:global-namespace} = { /** * Initialize all objects */ init: function () { for (var i in this) { if (typeof this[i].init == 'function') { this[i].init (); } } }, $5 }; /** * Initialize general namespace */ $4.init ();