Commit | Line | Data |
---|---|---|
5d5ef727 AE |
1 | /** |
2 | * Bootstraps WCF's JavaScript with additions for the frontend usage. | |
3 | * | |
4 | * @author Alexander Ebert | |
5 | * @copyright 2001-2015 WoltLab GmbH | |
6 | * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php> | |
7 | * @module WoltLab/WCF/BootstrapFrontend | |
8 | */ | |
9 | define(['WoltLab/WCF/Bootstrap', 'WoltLab/WCF/Controller/Sitemap'], function(Bootstrap, ControllerSitemap) { | |
10 | "use strict"; | |
11 | ||
12 | /** | |
13 | * @constructor | |
14 | */ | |
15 | function BootstrapFrontend() {} | |
16 | BootstrapFrontend.prototype = { | |
17 | /** | |
18 | * Bootstraps general modules and frontend exclusive ones. | |
19 | */ | |
20 | setup: function() { | |
21 | Bootstrap.setup(); | |
22 | ControllerSitemap.setup(); | |
23 | } | |
24 | }; | |
25 | ||
26 | return new BootstrapFrontend(); | |
27 | }); |