Debian Codegraph @

extensions/MultimediaViewer/resources/mmv.bootstrap/mmv.bootstrap.autostart.js

raw symbols SCIP
1 /*
2 * This file is part of the MediaWiki extension MultimediaViewer.
3 *
4 * MultimediaViewer is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * MultimediaViewer is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with MultimediaViewer. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18 // This file is used to do the global initialization that we want on the real pages,
19 // but do not want in the tests.
20
21 const Config = require( './mmv.Config.js' );
22 const MultimediaViewerBootstrap = require( './mmv.bootstrap.js' );
23 const LightboxImage = require( './mmv.lightboximage.js' );
24
25 const bootstrap = new MultimediaViewerBootstrap();
26
27 $( bootstrap.setupEventHandlers.bind( bootstrap ) );
28
29 module.exports = { MultimediaViewerBootstrap, LightboxImage, Config };