1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-08 17:34:26 +03:00
ifhub.club/application/frontend/skin/developer/components/ls-core/main.js
Denis Shakhov 42321428f8 Компоненты ls-core и ls-vendor
* Перенесены либы из фреймворка
2014-10-24 20:26:11 +07:00

44 lines
755 B
JavaScript

/**
* Основной модуль
*
* @module ls
*
* @license GNU General Public License, version 2
* @copyright 2013 OOO "ЛС-СОФТ" {@link http://livestreetcms.com}
* @author Denis Shakhov <denis.shakhov@gmail.com>
*/
var ls = ls || {};
/**
* Дополнительные функции
*/
ls = (function ($) {
/**
* Дефолтные опции
*
* @private
*/
var _defaults = {
production: false,
classes: {
states: {
active: 'active',
loading: 'loading',
open: 'open'
}
}
};
/**
* Инициализация
*
* @param {Object} options Опции
*/
this.init = function (options) {
this.options = $.extend({}, _defaults, options);
};
return this;
}).call(ls || {}, jQuery);