* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @module WoltLab/WCF/ACP/Bootstrap
*/
-define(['WoltLab/WCF/Bootstrap', 'WoltLab/WCF/Date/Picker'], function(Bootstrap, DatePicker) {
+define(['WoltLab/WCF/Bootstrap'], function(Bootstrap) {
"use strict";
/**
*/
setup: function(options) {
Bootstrap.setup();
- DatePicker.init();
}
};
*/
define(
[
- 'favico', 'enquire', 'perfect-scrollbar', 'WoltLab/WCF/Date/Time/Relative',
- 'UI/SimpleDropdown', 'WoltLab/WCF/UI/Mobile', 'WoltLab/WCF/UI/TabMenu', 'WoltLab/WCF/UI/FlexibleMenu',
- 'UI/Dialog', 'WoltLab/WCF/UI/Tooltip', 'WoltLab/WCF/Language', 'WoltLab/WCF/Environment'
+ 'favico', 'enquire', 'perfect-scrollbar', 'WoltLab/WCF/Date/Time/Relative',
+ 'UI/SimpleDropdown', 'WoltLab/WCF/UI/Mobile', 'WoltLab/WCF/UI/TabMenu', 'WoltLab/WCF/UI/FlexibleMenu',
+ 'UI/Dialog', 'WoltLab/WCF/UI/Tooltip', 'WoltLab/WCF/Language', 'WoltLab/WCF/Environment',
+ 'WoltLab/WCF/Date/Picker'
],
function(
- favico, enquire, perfectScrollbar, DateTimeRelative,
- UISimpleDropdown, UIMobile, UITabMenu, UIFlexibleMenu,
- UIDialog, UITooltip, Language, Environment
+ favico, enquire, perfectScrollbar, DateTimeRelative,
+ UISimpleDropdown, UIMobile, UITabMenu, UIFlexibleMenu,
+ UIDialog, UITooltip, Language, Environment,
+ DatePicker
)
{
"use strict";
Environment.setup();
DateTimeRelative.setup();
+ DatePicker.init();
UISimpleDropdown.setup();
UIMobile.setup();
define(
[
'Ajax', 'WoltLab/WCF/Bootstrap', 'WoltLab/WCF/Controller/Sitemap', 'WoltLab/WCF/Controller/Style/Changer',
- 'WoltLab/WCF/Controller/Popover', 'WoltLab/WCF/Date/Picker'
+ 'WoltLab/WCF/Controller/Popover'
],
function(
Ajax, Bootstrap, ControllerSitemap, ControllerStyleChanger,
- ControllerPopover, DatePicker
+ ControllerPopover
)
{
"use strict";
Bootstrap.setup();
ControllerSitemap.setup();
- DatePicker.init();
if (options.styleChanger) {
ControllerStyleChanger.setup();