mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-08 17:34:26 +03:00
44 lines
755 B
JavaScript
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); |