var EXPO = EXPO || {}; //isolated namespace EXPO.exposition = EXPO.exposition || {}; if (EXPO.exposition.list){ console.warn('WARNING: EXPO.place.object is already defined!'); }else { EXPO.exposition.list = (function () { // dependencies var com = EXPO.common; // variables var that = {}; that.opt = {}; //свойства по умолчанию //private $(function () { }); // methods //инициализация общих свойств that.init = function (options) { $.extend(this.opt, options); com.opt.addCalendarText = this.opt.addCalendarText; com.opt.removeCalendarText = this.opt.removeCalendarText; }; return that; }()); }