mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-12-12 07:55:53 +00:00
532fdbf294
This hook is deprecated and we should use QUnitTestModule in extension.json instead Bug: T232875 Change-Id: I7b3e22856adc64ee36e0b696e2371bb9673e4899
21 lines
927 B
JavaScript
21 lines
927 B
JavaScript
mw.template.add( 'ext.echo.mobile', 'NotificationBadge.mustache',
|
|
mw.template.get( 'test.Echo', 'NotificationBadge.mustache' ).getSource()
|
|
);
|
|
|
|
mw.loader.using( 'mobile.startup' ).then( function () {
|
|
require( './mobile/test_NotificationBadge.js' );
|
|
} );
|
|
|
|
mw.loader.using( 'ext.echo.dm' ).then( function () {
|
|
require( './model/test_mw.echo.dm.BundleNotificationItem.js' );
|
|
require( './model/test_mw.echo.dm.CrossWikiNotificationItem.js' );
|
|
require( './model/test_mw.echo.dm.FiltersModel.js' );
|
|
require( './model/test_mw.echo.dm.NotificationGroupsList.js' );
|
|
require( './model/test_mw.echo.dm.NotificationItem.js' );
|
|
require( './model/test_mw.echo.dm.NotificationsList.js' );
|
|
require( './model/test_mw.echo.dm.PaginationModel.js' );
|
|
require( './model/test_mw.echo.dm.SeenTimeModel.js' );
|
|
require( './model/test_mw.echo.dm.SourcePagesModel.js' );
|
|
require( './model/test_mw.echo.dm.UnreadNotificationCounter.js' );
|
|
} );
|