// B = bookyto private namespace var B; B = B || {}; // utils: bookyto specific helper functions B.utils = B.utils || {}; // lib: general library functions which could potentially separated from B(bookyto) B.lib = B.lib || {}; // Name space for page specific functions B.pages = B.pages || {}; // configuration B.conf = B.conf || {}; // env B.conf.environment = "development"; // URLs (not path -> also update MasterConfiguration B.conf.URL = B.conf.URL || {}; B.conf.URL.webRoot = "https://www.bookyto.com/"; B.conf.URL.webRoot.img = "https://www.bookyto.com/img/"; // const B.konst = B.konst || {}; B.konst.AJAX = B.konst.AJAX || {}; B.konst.AJAX.VAL_FAILURE = "failure"; B.konst.AJAX.VAL_SUCCESS = "success"; // stuff which is on every page (html is mainly in the layout file) B.site = B.site || {}; // event handlers on every pages B.site.eh = B.site.eh || {}; B.site.helper = B.site.helper || {}; B.site.conf = {}; B.site.conf.urlBase = B.conf.URL.webRoot + 'site/'; // google analytics B.site.conf.ga = {}; B.site.conf.ga.account = "UA-13223586-1"; B.site.conf.ga.domainName = "bookyto.net";